2014-05-09 06:57:11 +02:00
|
|
|
.\" -*- nroff -*-
|
|
|
|
.\" Copyright (C) 2014 Dimitris Zlatanidis
|
|
|
|
.\"
|
|
|
|
.\" This program is free software: you can redistribute it and/or modify
|
|
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
|
|
.\" the Free Software Foundation, either version 3 of the License, or
|
|
|
|
.\" (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" This program is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.TH Slpkg "8" "5 2014" "slpkg"
|
|
|
|
.SH NAME
|
2014-05-11 09:54:56 +02:00
|
|
|
slpkg - Utility to help package management in Slackware
|
2014-05-09 06:57:11 +02:00
|
|
|
.SH SYNOPSIS
|
2014-05-13 02:15:53 +02:00
|
|
|
\fBslpkg\fP \fB[-h]\fP \fB[-v]\fP \fB[-s script source]\fP \fB[-l all, sbo [all, sbo ...]]\fP
|
2014-05-17 09:45:37 +02:00
|
|
|
\fB[-n]\fP \fB[-c]\fP \fB[-i [...]]\fP \fB[-u [...]]\fP \fB[-a [...]]\fP \fB[-r[...]]\fP
|
|
|
|
\fB[-f [...]]\fP \fB[-d [...]]\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
.SH DESCRIPTION
|
2014-05-11 09:54:56 +02:00
|
|
|
\fBslpkg\fP is a terminal tool written in Python that allows the build, install, upgrade,
|
|
|
|
remove, find and view Slackware packages contents.
|
2014-05-09 06:57:11 +02:00
|
|
|
.PP
|
|
|
|
It's a quick and easy way to manage your packages in slackware to a command.
|
2014-05-15 14:02:18 +02:00
|
|
|
.PP
|
|
|
|
Note : The most definitions needed root privileges.
|
2014-05-09 06:57:11 +02:00
|
|
|
.SH EXAMPLES
|
2014-05-12 08:14:36 +02:00
|
|
|
\fB-h, --help show this help message and exit\fP
|
|
|
|
\fB-v, --verbose print version and exit\fP
|
|
|
|
\fB-s script source, --slackbuild script source\fP
|
|
|
|
\fB auto build package\fP
|
|
|
|
\fB-l all, sbo [all, sbo ...], --list all, sbo [all, sbo ...]\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB list of installed packages\fP
|
2014-05-13 02:15:53 +02:00
|
|
|
\fB-n , --network find from SBo repositority\fP
|
2014-05-17 09:45:37 +02:00
|
|
|
\fB-c , --check check if your package is up to date\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-i [ ...], --install [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB install binary packages\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-u [ ...], --upgrade [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB install-upgrade packages with new\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-a [ ...], --reinstall [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB reinstall the same packages\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-r [ ...], --remove [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB remove packages\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-f [ ...], --find [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB find if packages installed\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
\fB-d [ ...], --display [ ...]\fP
|
2014-05-16 09:21:11 +02:00
|
|
|
\fB display the contents of the packages\fP
|
2014-05-15 06:25:51 +02:00
|
|
|
|
2014-05-09 06:57:11 +02:00
|
|
|
.SH GLOBAL OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-v\fP, \fB\-\-verbose\fP
|
|
|
|
Print the version of program and exit.
|
|
|
|
.SH COMMANDS
|
|
|
|
.PP
|
|
|
|
The following commands are available.
|
2014-05-12 08:14:36 +02:00
|
|
|
.SS -s script source, --slackbuild script source
|
|
|
|
\fBslpkg\fP \fB-s\fP <\fIscript\fP> <\fIsource\fP>
|
|
|
|
.PP
|
|
|
|
With this argument, build slackware package quickly and easy.
|
|
|
|
Support .tar.gz and .tar.bz2 slackbuilds archives.
|
|
|
|
.SS -l all, sbo [all, sbo ...], --list all, sbo [all, sbo ...]
|
|
|
|
\fBslpkg\fP \fB-l\fP <\fIall\fP> <\fIsbo\fP>
|
|
|
|
.PP
|
|
|
|
Two display options list, one for all packages and another
|
|
|
|
only for packages SBo.
|
2014-05-13 02:15:53 +02:00
|
|
|
.SS -n , --network find from SBo repositority
|
|
|
|
\fBslpkg\fP \fB-n\fP <\fIname\fP>
|
|
|
|
.PP
|
|
|
|
With this method you can find the SBo script that interests you through
|
|
|
|
the network. (www.slackbuilds.org)
|
2014-05-17 09:45:37 +02:00
|
|
|
.SS -c , --check check if your package is up to date
|
|
|
|
\fBslpkg\fP \fB-c\fP <\fIname\fP>
|
|
|
|
.PP
|
|
|
|
Check if your packages from www.slackbuilds.org is updated.
|
2014-05-12 08:14:36 +02:00
|
|
|
.SS -i , --install install binary package
|
2014-05-15 06:25:51 +02:00
|
|
|
\fBslpkg\fP \fB-i\fP <\fIpackages.t?z\fP>
|
2014-05-13 02:15:53 +02:00
|
|
|
.PP
|
2014-05-12 08:14:36 +02:00
|
|
|
Installs single binary packages designed for use with the
|
|
|
|
Slackware Linux distribution into your system.
|
|
|
|
.SS -u , --upgrade install-upgrade package with new
|
2014-05-15 06:25:51 +02:00
|
|
|
\fBslpkg\fP \fB-u\fP <\fIpackages.t?z\fP>
|
2014-05-09 06:57:11 +02:00
|
|
|
.PP
|
|
|
|
Normally upgrade only upgrades packages that are already
|
|
|
|
installed on the system, and will skip any packages that do not
|
2014-05-09 21:40:04 +02:00
|
|
|
already have a version installed. 'Requires root privileges'
|
|
|
|
(like slackware command upgradepkg --install-new)
|
2014-05-09 06:57:11 +02:00
|
|
|
.SS -a --reinstall
|
2014-05-15 06:25:51 +02:00
|
|
|
\fBslpkg\fP \fB-a\fP <\fIpackages.t?z\fP>
|
2014-05-09 06:57:11 +02:00
|
|
|
.PP
|
2014-05-12 08:14:36 +02:00
|
|
|
Upgradepkg usually skips packages if the exact same package
|
2014-05-09 06:57:11 +02:00
|
|
|
(matching name, version, arch, and build number) is already
|
2014-05-09 21:40:04 +02:00
|
|
|
installed on the system.'Requires root privileges' (like
|
|
|
|
slackware command upgradepkg --reinstall)
|
2014-05-12 08:14:36 +02:00
|
|
|
.SS -r , --remove package
|
2014-05-15 06:25:51 +02:00
|
|
|
\fBslpkg\fP \fB-r\fP <\fIname of packages\fP>
|
2014-05-09 06:57:11 +02:00
|
|
|
.PP
|
|
|
|
Removes a previously installed Slackware package, while writing
|
|
|
|
a progress report to the standard output. A package may be
|
|
|
|
specified either by the full package name (as you'd see listed in
|
2014-05-09 21:40:04 +02:00
|
|
|
/var/log/packages/), or by the base package name. 'Requires root
|
|
|
|
privileges' (like slackware command removepkg)
|
2014-05-09 06:57:11 +02:00
|
|
|
.SS -f --find
|
|
|
|
\fBslpkg\fP \fB-f\fP <\fIname of package\fP>
|
|
|
|
.PP
|
|
|
|
Find if package allready installed or not.
|
|
|
|
.SS -d --display
|
2014-05-15 06:25:51 +02:00
|
|
|
\fBslpkg\fP \fB-d\fP <\fIname of packages\fP>
|
2014-05-09 06:57:11 +02:00
|
|
|
.PP
|
|
|
|
Display the contents of the package with all descriptions.
|
|
|
|
.SH HELP OPTION
|
|
|
|
Specifying the help option displays help for slpkg itself, or a
|
|
|
|
command.
|
|
|
|
.br
|
|
|
|
For example:
|
|
|
|
\fBslpkg \-\-help\fP - display help for slpkg
|
|
|
|
.SH EXAMPLES
|
2014-05-11 09:54:56 +02:00
|
|
|
|
2014-05-17 09:45:37 +02:00
|
|
|
$ \fBslpkg -c flashplayer-plugin\fP
|
|
|
|
Searching for `flashplayer-plugin` from www.slackbuilds.org Please wait ...
|
|
|
|
|
|
|
|
New version is available !!!
|
|
|
|
+==================================================
|
|
|
|
| flashplayer-plugin 11.2.202.356
|
|
|
|
+==================================================
|
|
|
|
|
2014-05-13 02:15:53 +02:00
|
|
|
$ \fBslpkg -n termcolor\fP
|
2014-05-17 09:45:37 +02:00
|
|
|
|
2014-05-14 08:26:45 +02:00
|
|
|
Searching for termcolor from www.slackbuilds.org Please wait ...
|
2014-05-16 09:21:11 +02:00
|
|
|
|
|
|
|
+=====================================================================================
|
2014-05-17 09:45:37 +02:00
|
|
|
| The `termcolor` found in --> http://slackbuilds.org/repository/14.1/python/termcolor/
|
2014-05-16 09:21:11 +02:00
|
|
|
+=====================================================================================
|
|
|
|
|
|
|
|
Download SlackBuild : http://slackbuilds.org/slackbuilds/14.1/python/termcolor.tar.gz
|
|
|
|
Source Downloads : https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz
|
2014-05-19 14:13:29 +02:00
|
|
|
Extra Downloads :
|
2014-05-16 09:21:11 +02:00
|
|
|
Package requirements :
|
2014-05-15 06:25:51 +02:00
|
|
|
|
2014-05-13 02:15:53 +02:00
|
|
|
Etc. download from www.slackbuilds.org the package termcolor
|
|
|
|
http://slackbuilds.org/repository/14.1/python/termcolor/
|
|
|
|
|
|
|
|
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
|
|
|
|
must be in the same directory.
|
|
|
|
|
|
|
|
$ \fBslpkg -s termcolor.tar.gz termcolor-1.1.0.tar.gz\fP
|
2014-05-11 09:54:56 +02:00
|
|
|
|
2014-05-13 02:15:53 +02:00
|
|
|
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
|
2014-05-11 09:54:56 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
$ \fBslpkg -u termcolor-1.1.0-x86_64-1_SBo.tgz\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-15 06:25:51 +02:00
|
|
|
$ \fBslpkg -r termcolor yetris\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
!!! WARNING !!!
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
Are you sure to remove this package [y/n] y
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
Package: termcolor-1.1.0-x86_64-1_SBo
|
2014-05-15 06:25:51 +02:00
|
|
|
Package: yetris-2.0.1-x86_64-1_SBo
|
2014-05-09 21:40:04 +02:00
|
|
|
Removing...
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
$ \fBslpkg -f termcolor\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-17 09:45:37 +02:00
|
|
|
The package 'termcolor' not found
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
$ \fBslpkg -d termcolor\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-17 09:45:37 +02:00
|
|
|
The package 'termcolor' not found
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
$ \fBslpkg -v\fP
|
2014-05-09 06:57:11 +02:00
|
|
|
|
2014-05-09 21:40:04 +02:00
|
|
|
Version: x.x.x
|
2014-05-09 06:57:11 +02:00
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
Dimitris Zlatanidis <d.zlatanidis@gmail.com>
|
|
|
|
.SH COPYRIGHT
|
|
|
|
Copyright \(co 2014 Dimitris Zlatanidis
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
installpkg(8), upgradepkg(8), removepkg(8), pkgtool(8), slackpkg(8)
|