slpkg/man/slpkg.8

197 lines
6.7 KiB
Groff
Raw Normal View History

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-21 06:16:56 +02:00
\fBslpkg\fP \fB-h\fP \fB-v\fP \fB-s script [source ...]\fP \fB-l all, sbo [all, sbo ...]\fP
\fB-t\fP \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.
.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
2014-05-21 06:16:56 +02:00
\fB-s script [source ...]\fP
\fB auto build package\fP
\fB-l all, sbo [all, sbo ...]\fP
2014-05-15 06:25:51 +02:00
\fB list of installed packages\fP
2014-05-21 06:16:56 +02:00
\fB-t tracking dependencies\fP
\fB-n find from SBo repositority\fP
\fB-c check if your package is up to date\fP
\fB-i [ ...] install binary packages\fP
\fB-u [ ...] install-upgrade packages with new\fP
\fB-a [ ...] reinstall the same packages\fP
\fB-r [ ...] remove packages\fP
\fB-f [ ...] find if packages installed\fP
\fB-d [ ...] 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-21 06:16:56 +02:00
.SS -s script source extra
2014-05-20 23:52:22 +02:00
\fBslpkg\fP \fB-s\fP <\fIscript\fP> <\fIsource\fP> <\fIextra sources\fP>
2014-05-12 08:14:36 +02:00
.PP
With this argument, build slackware package quickly and easy.
Support .tar.gz and .tar.bz2 slackbuilds archives.
2014-05-21 06:16:56 +02:00
.SS -l all, sbo [all, sbo ...]
2014-05-12 08:14:36 +02:00
\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-21 06:16:56 +02:00
.SS -t , tracking dependencies
2014-05-20 23:52:22 +02:00
\fBslpkg\fP \fB-t\fP <\fIname of package\fP>
.PP
Tracking all dependencies of that package.
The sequence shown is that you must follow to correctly install package.
2014-05-21 06:16:56 +02:00
.SS -n , find from SBo repositority
2014-05-20 23:52:22 +02:00
\fBslpkg\fP \fB-n\fP <\fIname of package\fP>
2014-05-13 02:15:53 +02:00
.PP
With this method you can find the SBo script that interests you through
the network. (www.slackbuilds.org)
2014-05-21 06:16:56 +02:00
.SS -c , check if your package is up to date
2014-05-20 23:52:22 +02:00
\fBslpkg\fP \fB-c\fP <\fIname of package\fP>
2014-05-17 09:45:37 +02:00
.PP
Check if your packages from www.slackbuilds.org is updated.
2014-05-21 06:16:56 +02:00
.SS -i , 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.
2014-05-21 06:16:56 +02:00
.SS -u , 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-21 06:16:56 +02:00
.SS -a reinstall binary package
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-21 06:16:56 +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-21 06:16:56 +02:00
.SS -f find packages
2014-05-20 23:52:22 +02:00
\fBslpkg\fP \fB-f\fP <\fIname of packages\fP>
2014-05-09 06:57:11 +02:00
.PP
Find if package allready installed or not.
2014-05-21 06:16:56 +02:00
.SS -d display contents
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-20 23:52:22 +02:00
$ \fBslpkg -t brasero\fP
+=========================
| `brasero' dependencies :
+=========================
|
|
-- 1 orc
|
-- 1 gstreamer1
|
-- 1 gst1-plugins-base
|
-- 2 libunique gst1-plugins-bad
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-20 23:52:22 +02:00
+======================================================================================
2014-05-17 09:45:37 +02:00
| The `termcolor` found in --> http://slackbuilds.org/repository/14.1/python/termcolor/
2014-05-20 23:52:22 +02:00
+======================================================================================
2014-05-21 12:20:47 +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
| Extra Downloads :
| Package requirements :
+======================================================================================
README View the README file
Download Download this package
2014-05-16 09:21:11 +02:00
2014-05-21 12:20:47 +02:00
_
2014-05-13 02:15:53 +02:00
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-20 10:51:21 +02:00
$ \fBslpkg -u /tmp/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)