mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-08 17:24:18 +01:00
1.1 KiB
1.1 KiB
How to start
Edit repositories
If you are going to use only the SlackBuilds.org repository, you don't need to edit
the /etc/slpkg/repositories.toml
file, otherwise edit the file and set true
the repositories you want.
Update database
The second step is to update the package lists and install the data to the database, just run:
$ slpkg update
Now you are ready to start!
Install packages
To install a package, run:
$ slpkg install <package_name>
or change the repository:
$ slpkg install <package_name> --repository=<repo_name>
You can install a whole repository with the command:
$ slpkg install '*' --repository=<repository_name>
Remove packages
To remove a package with the dependencies:
$ slpkg remove <package_name>
Search for packages
If you want to search a package from all repositories, run:
$ slpkg search <package_name> --repository='*'
Edit configuration
Edit the configuration /etc/slpkg/slpkg.toml
file:
$ slpkg configs
For further information, please read the manpage:
Manpage
$ man slpkg