mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
4c4298277e
commit
16d2daf5d8
1 changed files with 17 additions and 12 deletions
23
EXAMPLES.md
23
EXAMPLES.md
|
@ -3,11 +3,16 @@
|
||||||
|
|
||||||
##### Usage
|
##### Usage
|
||||||
|
|
||||||
First you need to run '`slpkg update`' to synchronize the lists of packages, also every time you add
|
Before you start to use slpkg need to run '`slpkg update`' to synchronize the lists of packages,
|
||||||
a new repository. To add or remove repositories must edit the file '`/etc/slpkg/repositories.conf`'
|
also every time you add a new repository.
|
||||||
or run '`slpkg repo-enable`' (python3-pythondialog required). Add custom repositories with the
|
|
||||||
command '`slpkg add-repo <repository name> <URL>`' and after run '`slpkg update`' to update package
|
To add or remove repositories you have to edit the file '`/etc/slpkg/repositories.conf`'
|
||||||
list. View list of repositories with the command `slpkg repo-list` or get repository information
|
or run '`slpkg repo-enable`' (python3-pythondialog required).
|
||||||
|
|
||||||
|
Add custom repositories with the command '`slpkg add-repo <repository name> <URL>`' and
|
||||||
|
after run '`slpkg update`' to update package list.
|
||||||
|
|
||||||
|
View list of repositories with the command `slpkg repo-list` or get repository information
|
||||||
with the command '`slpkg repo-info <repository>`'.
|
with the command '`slpkg repo-info <repository>`'.
|
||||||
|
|
||||||
Update slpkg itself simply run '`slpkg update slpkg`', and slpkg check from GitLab repository if the
|
Update slpkg itself simply run '`slpkg update slpkg`', and slpkg check from GitLab repository if the
|
||||||
|
@ -16,7 +21,7 @@ new version is available.
|
||||||
Checking packages health with the command '`slpkg health`' and slpkg check if the files missing
|
Checking packages health with the command '`slpkg health`' and slpkg check if the files missing
|
||||||
from the package file list.
|
from the package file list.
|
||||||
|
|
||||||
Print the dependencies status with the command '`slpkg deps-status`' or draw image map dependencies
|
View the dependencies status with the command '`slpkg deps-status`' or draw image map dependencies
|
||||||
with the additional option '`--graph=[image]`'.
|
with the additional option '`--graph=[image]`'.
|
||||||
|
|
||||||
Manage '`.new`' configuration files with the command '`slpkg new-config`', like remove, overwrite,
|
Manage '`.new`' configuration files with the command '`slpkg new-config`', like remove, overwrite,
|
||||||
|
@ -43,7 +48,7 @@ Use '`--checklist`' option to help you to choose easy the packages. For advanced
|
||||||
option '`--skip`' give them more power (see manpage).
|
option '`--skip`' give them more power (see manpage).
|
||||||
|
|
||||||
The most famous command is '`slpkg -s <repository> <packages>`', this command downloads, build and
|
The most famous command is '`slpkg -s <repository> <packages>`', this command downloads, build and
|
||||||
installs packages with the resolve all the dependencies or switch off resolve with the option
|
installs packages and resolve all the dependencies or switch off resolve with the option
|
||||||
'`--resolve-off`'. Also the additional option '`--case-ins`' help you find the packages with case
|
'`--resolve-off`'. Also the additional option '`--case-ins`' help you find the packages with case
|
||||||
insensitive. Two new arguments, help you to rebuild '`--rebuild`' or reinstall '`--reinstall`' packages.
|
insensitive. Two new arguments, help you to rebuild '`--rebuild`' or reinstall '`--reinstall`' packages.
|
||||||
The last one argument '`--patches`' help you to switch in the '`patches/`' directory, only for the slack
|
The last one argument '`--patches`' help you to switch in the '`patches/`' directory, only for the slack
|
||||||
|
@ -60,7 +65,7 @@ change the color of the text with the additional flag '`--color=[]`'.
|
||||||
View a SBo package page on your terminal with command `slpkg -n <package>` and then manage
|
View a SBo package page on your terminal with command `slpkg -n <package>` and then manage
|
||||||
multiple choices such read, download, build, install etc.
|
multiple choices such read, download, build, install etc.
|
||||||
|
|
||||||
If you want to find a package of all the repositories, that command will solve your hands
|
If you want to find a package of all the repositories, this command will solve your hands
|
||||||
'`slpkg -F <packages>`', it will search in all the enable repositories and will print all the
|
'`slpkg -F <packages>`', it will search in all the enable repositories and will print all the
|
||||||
packages that match the description that you enter.
|
packages that match the description that you enter.
|
||||||
|
|
||||||
|
@ -73,7 +78,7 @@ remove packages from your system events. Notable mention you must give in the co
|
||||||
'`slpkg --removepkg <packages>`' which you can remove the packages with all dependencies together
|
'`slpkg --removepkg <packages>`' which you can remove the packages with all dependencies together
|
||||||
after editing configuration file '`/etc/slpkg/slpkg.conf`' (default is disable) or add additional
|
after editing configuration file '`/etc/slpkg/slpkg.conf`' (default is disable) or add additional
|
||||||
option '`--deps`'. Also you can check if the packages they are used as dependency with additional
|
option '`--deps`'. Also you can check if the packages they are used as dependency with additional
|
||||||
option '`--check-deps`'. Option '`--tag`' allow to remove packages with by TAG. Optional you can use
|
option '`--check-deps`'. Option '`--tag`' allow to remove packages by TAG. Optional you can use
|
||||||
the dialog utility with the additional option '`--checklist`' (require python3-pythondialog). Rmove
|
the dialog utility with the additional option '`--checklist`' (require python3-pythondialog). Rmove
|
||||||
third-party packages with the option '`--third-party`'.
|
third-party packages with the option '`--third-party`'.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue