Quickstart
LPM is a robust tool for securely managing software packages on your system. This quickstart guide will guide you through the fundamental steps to become familiar with LPM.
-
Migrate LPM database (ignore this step if using docker):
The first step is to migrate the LPM database. This process initializes the core database files required for LPM to function effectively.
sudo lpm --update --db
-
Add repository (ignore this step if using docker):
Adding a repository is essential for LPM to access and manage packages. A repository acts as the source of packages for your system. Let's add the
linux-amd64-default
repository as an example.# args: <repository-name> <repository-url> sudo lpm --repository --add linux-amd64-default linux-amd64-default.lpm.lodosgroup.org
Once you've added the repository, LPM will synchronize with the package indexes sourced from the added repository. This indicates that you are all set to install packages.
-
Install a package:
Installing packages using LPM is straightforward. Simply use the following command, replacing
with the name of the package you want to install. # args: <package-name> sudo lpm --install lzip
To confirm the successful completion of the installation, you can check by running the command
lzip --version
. -
Delete the installed package:
If you want to delete a package from your system, use the delete command followed by the package name.
# args: <package-name> sudo lpm --delete lzip
These steps cover the basic operations to quickly start using the LOD Package Manager. You can explore the advanced features of LPM from commands section on this website.