Updated readme

This commit is contained in:
Dimitris Zlatanidis 2023-05-11 20:47:26 +03:00
parent f1af2c896e
commit 389a5c2e57

View file

@ -36,7 +36,7 @@ $ slpkg repo-info
<img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_repo_info.png" width="900"> <img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_repo_info.png" width="900">
``` ```
$ slpkg install audacity --bin-repo=alien $ slpkg install audacity --repository=alien
``` ```
<img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_install.png" width="900"> <img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_install.png" width="900">
<img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_install_done.png" width="900"> <img src="https://gitlab.com/dslackw/images/raw/master/slpkg/slpkg_install_done.png" width="900">
@ -116,7 +116,7 @@ COMMANDS:
OPTIONS: OPTIONS:
-y, --yes Answer Yes to all questions. -y, --yes Answer Yes to all questions.
-j, --jobs Set it for multicore systems. -j, --jobs Set it for multicore systems.
-o, --resolve-off Turns off dependency resolving. -O, --resolve-off Turns off dependency resolving.
-r, --reinstall Upgrade packages of the same version. -r, --reinstall Upgrade packages of the same version.
-k, --skip-installed Skip installed packages. -k, --skip-installed Skip installed packages.
-a, --install-data Install data into the database only. -a, --install-data Install data into the database only.
@ -125,7 +125,7 @@ OPTIONS:
-n, --no-silent Disable silent mode. -n, --no-silent Disable silent mode.
-p, --pkg-version Print the repository package version. -p, --pkg-version Print the repository package version.
-P, --parallel Download files in parallel. -P, --parallel Download files in parallel.
-B, --bin-repo=[REPO] Set a binary repository. -o, --repository=NAME Change repository you want to work.
-z, --directory=[PATH] Download files to a specific path. -z, --directory=[PATH] Download files to a specific path.
-h, --help Show this message and exit. -h, --help Show this message and exit.
@ -145,11 +145,6 @@ The second step is to update the package lists and install the data to the datab
$ slpkg update $ slpkg update
``` ```
or for binary repositories:
```
$ slpkg update --bin-repo='*'
```
Now you are ready to start! Now you are ready to start!
To install a package from the [SlackBuilds.org](https://slackbuilds.org) or [Ponce](https://cgit.ponce.cc/slackbuilds) repository, run: To install a package from the [SlackBuilds.org](https://slackbuilds.org) or [Ponce](https://cgit.ponce.cc/slackbuilds) repository, run:
@ -158,16 +153,16 @@ To install a package from the [SlackBuilds.org](https://slackbuilds.org) or [Pon
$ slpkg install <package_name> $ slpkg install <package_name>
``` ```
or from a binary repository: or change the repository:
``` ```
$ slpkg install <package_name> --bin-repo=<repo_name> $ slpkg install <package_name> --repository=<repo_name>
``` ```
You can install a whole repository with the command: You can install a whole repository with the command:
``` ```
$ slpkg install '*' --bin-repo=<repository_name> --resolve-off $ slpkg install '*' --repository=<repository_name> --resolve-off
``` ```
To remove a package with the dependencies: To remove a package with the dependencies:
@ -179,7 +174,7 @@ To remove a package with the dependencies:
If you want to search a package from all binaries repositories, run: If you want to search a package from all binaries repositories, run:
``` ```
$ slpkg search <package_name> --bin-repo='*' $ slpkg search <package_name> --repository='*'
``` ```
Edit the configuration `/etc/slpkg/slpkg.toml` file: Edit the configuration `/etc/slpkg/slpkg.toml` file: