mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
Updated examples
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
59d812725a
commit
7fd48fb27f
1 changed files with 160 additions and 106 deletions
74
EXAMPLES.txt
74
EXAMPLES.txt
|
@ -970,17 +970,40 @@ Find the installed packages:
|
|||
|
||||
$ slpkg -f apr
|
||||
|
||||
Packages with matching name [ apr ]
|
||||
Sckages with matching name [ apr ]
|
||||
|
||||
[ installed ] - apr-1.5.0-x86_64-1_slack14.1
|
||||
[ installed ] - apr-util-1.5.3-x86_64-1_slack14.1
|
||||
[ installed ] - xf86dgaproto-2.1-noarch-1
|
||||
[ installed ] - xineramaproto-1.2.1-noarch-1
|
||||
[ installed ] [ 1.1M ] - apr-1.5.2-x86_64-1
|
||||
[ installed ] [ 530K ] - apr-util-1.5.4-x86_64-2
|
||||
[ installed ] [ 40K ] - xf86dgaproto-2.1-noarch-1
|
||||
[ installed ] [ 50K ] - xineramaproto-1.2.1-noarch-1
|
||||
|
||||
Found summary
|
||||
===============================================================================
|
||||
Total found 4 matcing packages
|
||||
Size of installed packages 1.61 Mb
|
||||
Total found 4 matching packages.
|
||||
Size of installed packages 1.71 Mb.
|
||||
|
||||
|
||||
Find only the third-party packages:
|
||||
|
||||
$ slpkg -f python --third-party
|
||||
|
||||
Packages with matching name [ python ]
|
||||
|
||||
[ installed ] [ 1.4M ] - bpython-0.17.1-x86_64-1_SBo
|
||||
[ installed ] [ 590K ] - python-certifi-2018.11.29-x86_64-1_SBo
|
||||
[ installed ] [ 1.9M ] - python-chardet-3.0.4-x86_64-1_SBo
|
||||
[ installed ] [ 220K ] - python-libtmux-0.8.0-x86_64-1_SBo
|
||||
[ installed ] [ 50K ] - python-notify2-0.3.1-x86_64-1_SBo
|
||||
[ installed ] [ 1.5M ] - python-requests-2.20.1-x86_64-1_SBo
|
||||
[ installed ] [ 110K ] - python-scandir-1.8-x86_64-1_SBo
|
||||
[ installed ] [ 1.5M ] - python-urllib3-1.23-x86_64-1_SBo
|
||||
[ installed ] [ 440K ] - python2-pythondialog-3.4.0-x86_64-1_SBo
|
||||
[ installed ] [ 120M ] - python3-3.6.7-x86_64-1_SBo
|
||||
|
||||
Found summary
|
||||
===============================================================================
|
||||
Total found 10 matching packages.
|
||||
Size of installed packages 127.68 Mb.
|
||||
|
||||
|
||||
Display the contents of the packages:
|
||||
|
@ -1030,7 +1053,7 @@ Display the contents of the packages:
|
|||
No such package lua: Cant find
|
||||
|
||||
|
||||
Removes a previously installed Slackware binary packages:
|
||||
Removes a previously installed Slackware binary package:
|
||||
|
||||
$ slpkg -r termcolor
|
||||
|
||||
|
@ -1070,7 +1093,7 @@ Removes a previously installed Slackware binary packages:
|
|||
+==============================================================================
|
||||
|
||||
|
||||
Remove packages with all the dependencies and check if used as dependency:
|
||||
Remove packages with all dependencies and check if used as dependency:
|
||||
(Presupposes install with the option '# slpkg -s <repository> <packages>')
|
||||
|
||||
$ slpkg -r Flask --check-deps
|
||||
|
@ -1159,8 +1182,8 @@ Remove the packages with by TAG:
|
|||
|
||||
Are you sure to remove 14 packages [y/N]?
|
||||
|
||||
Remove the packages using dialog utility:
|
||||
|
||||
Remove the packages using dialog utility:
|
||||
|
||||
$ slpkg -r _SBo --tag --checklist
|
||||
|
||||
|
@ -1175,6 +1198,37 @@ Remove the packages using dialog utility:
|
|||
.. image:: https://gitlab.com/dslackw/images/raw/master/slpkg/pythondialog4.png
|
||||
|
||||
|
||||
Remove only the third-party packages:
|
||||
|
||||
$ slpkg -r python --third-party
|
||||
|
||||
Packages with name matching [ python ]
|
||||
|
||||
[ delete ] --> bpython-0.17.1-x86_64-1_SBo
|
||||
[ delete ] --> python-certifi-2018.11.29-x86_64-1_SBo
|
||||
[ delete ] --> python-chardet-3.0.4-x86_64-1_SBo
|
||||
[ delete ] --> python-libtmux-0.8.0-x86_64-1_SBo
|
||||
[ delete ] --> python-notify2-0.3.1-x86_64-1_SBo
|
||||
[ delete ] --> python-requests-2.20.1-x86_64-1_SBo
|
||||
[ delete ] --> python-scandir-1.8-x86_64-1_SBo
|
||||
[ delete ] --> python-urllib3-1.23-x86_64-1_SBo
|
||||
[ delete ] --> python2-pythondialog-3.4.0-x86_64-1_SBo
|
||||
[ delete ] --> python3-3.6.7-x86_64-1_SBo
|
||||
|
||||
Removed summary
|
||||
===============================================================================
|
||||
Size of removed packages 127.68 Mb.
|
||||
|
||||
|
||||
+==============================================================================
|
||||
| *** WARNING ***
|
||||
| Before you use third-party option, be sure you have updated the package
|
||||
| lists. Run the command 'slpkg update' and 'slpkg -c slack --upgrade'
|
||||
+==============================================================================
|
||||
|
||||
Are you sure to remove 10 packages [y/N]?
|
||||
|
||||
|
||||
Build and install the packages that have added to the queue:
|
||||
|
||||
$ slpkg -q roxterm SDL2 CEGUI --add
|
||||
|
|
Loading…
Add table
Reference in a new issue