slpkg/docs/how_to_start/index.md
Dimitris Zlatanidis accc190786 Updated for usage
2023-06-12 20:25:34 +03:00

1 KiB

How to start

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.

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!

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>

To remove a package with the dependencies:

    $ slpkg remove <package_name>

If you want to search a package from all repositories, run:

    $ slpkg search <package_name> --repository='*'

Edit the configuration /etc/slpkg/slpkg.toml file:

    $ slpkg configs

For further information, please read the manpage:

    $ man slpkg