slpkg/man/slpkg.8

209 lines
7.6 KiB
Groff
Raw Normal View History

2014-05-23 07:46:51 +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-07-28 15:32:43 +02:00
slpkg - Utility for easy management packages in Slackware
2014-05-23 07:46:51 +02:00
.SH SYNOPSIS
2014-11-14 13:20:07 +01:00
\fBUsage: slpkg [-h] [-v] [-a script.tar.gz [sources...]]
2014-10-04 00:44:18 +02:00
[-b --list, --add, --remove [...]]
2014-10-11 04:06:04 +02:00
[-q --list, [...] --add, --remove]
2014-11-14 13:20:07 +01:00
[ --build, --install, --build-install]
2014-11-18 12:30:58 +01:00
[-g --config, --config=[editor]]
[-l [repository], all, noarch]
[-c [repository] --upgrade]
[-s [repository] [package][
[-t [repository] [package]]
[-p [repository] [package] --color=]
2014-11-14 13:20:07 +01:00
[-f] [-n] [-i [...]] [-u [...]]
2014-10-04 00:44:18 +02:00
[-o [...]] [-r [...]] [-d [...]]\fp
2014-08-26 03:11:10 +02:00
2014-05-23 07:46:51 +02:00
.SH DESCRIPTION
2014-07-28 15:32:43 +02:00
\fBslpkg\fP is a terminal multitool in order to easy use Slackware packages.
2014-05-23 07:46:51 +02:00
.PP
It's a quick and easy way to manage your packages in slackware to a command.
.SH EXAMPLES
2014-11-18 12:30:58 +01:00
\fB
Utility for easy management packages in Slackware
Optional arguments:
-h, --help show this help message and exit
-v, --version print version and exit
-a, script.tar.gz [source...] auto build SBo packages
-b, --list, [package...] --add, --remove add, remove packages in blacklist
-q, --list, [package...] --add, --remove add, remove SBo packages in queue
--build, --install, --build-install build or install packages from queue
-g, --config, --config=<editor> configuration file management
-l, [repository], all, noarch list of installed packages
-c, [repository] --upgrade check for updated packages
-s, [repository] [package] download, build & install
-t, [repository] [package] tracking dependencies
-p, [repository] [package] --color=[] print package description
-f, [package] find installed packages
-n, [package] view packages from SBo
-i, [package...] install binary packages
-u, [package...] upgrade binary packages
-o, [package...] reinstall binary packages
-r, [package...] remove binary packages
-d, [package...] display the contents
Repositories: <slack, sbo, alien, slacky, rlw>
Colors = [red, green, yellow, cyan, grey]\fP
2014-05-23 07:46:51 +02:00
.SH GLOBAL OPTIONS
.TP
2014-09-27 22:54:30 +02:00
\fB\-v\fP, \fB\-\-version\fP
2014-05-23 07:46:51 +02:00
Print the version of program and exit.
.SH COMMANDS
.PP
The following commands are available.
2014-11-18 12:30:58 +01:00
.SS -a, auto build packages
2014-09-14 16:25:53 +02:00
\fBslpkg\fP \fB-a\fP <\fIscript\fP> <\fIsources\fP>
2014-05-23 07:46:51 +02:00
.PP
2014-07-26 06:59:53 +02:00
With this argument, build slackware package from source quickly and easy.
2014-11-18 12:30:58 +01:00
.SS -b , add, remove, view packages in blacklist
2014-10-04 00:44:18 +02:00
\fBslpkg\fP \fB-b\fP \fB--list\fP <\fIpackages\fP> \fB--add\fP \fB--remove\fP
.PP
2014-10-11 04:06:04 +02:00
List, add or remove packages from blacklist file. The settings here affect
2014-10-04 00:44:18 +02:00
all repositories.
2014-11-18 12:30:58 +01:00
.SS -q , add, remove, view packages in queue
2014-10-11 04:06:04 +02:00
\fBslpkg\fP \fB-q\fP \fB--list\fP <\fIpackages\fP> \fB--add\fP \fB--remove\fP
2014-11-18 12:30:58 +01:00
.TP
\fBslpkg\fP \fB-q\fP \fB--build\fP \fB--install\fP \fB--build-install\fP
2014-10-11 04:06:04 +02:00
.PP
List, add, or remove sbo packages from queue. If you want to remove all the packages
from the list 'slpkg -q all --remove'. (these arguments only working for the sbo repository)
Build or install or build and install packages are queued.
2014-11-18 12:30:58 +01:00
.SS -g , configuration file management
\fBslpkg\fP \fB--config\fP \fB--config=[editor]\fP
.PP
Print configuration file or edit with editor.
.SS -l , list of installed packages per repository
\fBslpkg\fP \fB-l\fP <\fIrepository\fP> \fIall\fP \fInoarch\fP
2014-05-23 07:46:51 +02:00
.PP
2014-11-18 12:30:58 +01:00
List of installed packages per repository or all.
.SS -c , check if your packages is up to date
2014-11-14 13:20:07 +01:00
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fI--upgrade\f
2014-09-05 05:20:59 +02:00
.PP
2014-11-14 13:20:07 +01:00
Check your packages is up to date.
2014-11-18 12:30:58 +01:00
.SS -s , download, build and install package with all dependencies
2014-11-14 13:20:07 +01:00
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fIname of package\fP>
2014-09-05 05:20:59 +02:00
.PP
2014-11-14 13:20:07 +01:00
Installs or upgrade packages from the repositories with automatically resolving all
2014-09-05 05:20:59 +02:00
dependencies of the package. Also installs the official distribution Slackware
2014-11-14 13:20:07 +01:00
packages.
2014-11-18 12:30:58 +01:00
2014-05-23 07:46:51 +02:00
.SS -t , tracking dependencies
2014-11-14 13:20:07 +01:00
\fBslpkg\fP \fB-t\fP <\fIrepository\fP> <\fIname of package\fP>
2014-05-23 07:46:51 +02:00
.PP
Tracking all dependencies of that package.
The sequence shown is that you must follow to correctly install package.
2014-11-18 12:30:58 +01:00
2014-11-14 13:20:07 +01:00
.SS -p , print packages description
\fBslpkg\fP \fB-p\fP <\fIrepository\fP> <\fIname of package\fP>
.PP
Print package description
2014-11-18 12:30:58 +01:00
2014-11-14 13:20:07 +01:00
.SS -f find packages
\fBslpkg\fP \fB-f\fP <\fIname of package\fP>
.PP
Find installed packages with view total file size.
2014-11-18 12:30:58 +01:00
2014-09-19 21:52:16 +02:00
.SS -n , find packages from SBo repositority
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-n\fP <\fIname of package\fP>
.PP
With this method you can find the SBo script that interests you through
the network. (www.slackbuilds.org)
2014-11-18 12:30:58 +01:00
2014-10-11 04:06:04 +02:00
.SS -i , install binary packages
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-i\fP <\fIpackages.t?z\fP>
.PP
Installs single binary packages designed for use with the
Slackware Linux distribution into your system.
2014-11-18 12:30:58 +01:00
2014-10-11 04:06:04 +02:00
.SS -u , install-upgrade packages with new
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-u\fP <\fIpackages.t?z\fP>
.PP
Normally upgrade only upgrades packages that are already
installed on the system, and will skip any packages that do not
already have a version installed. 'Requires root privileges'
(like slackware command upgradepkg --install-new)
2014-11-18 12:30:58 +01:00
2014-10-11 04:06:04 +02:00
.SS -o , reinstall binary packages
2014-05-30 11:27:34 +02:00
\fBslpkg\fP \fB-o\fP <\fIpackages.t?z\fP>
2014-05-23 07:46:51 +02:00
.PP
Upgradepkg usually skips packages if the exact same package
(matching name, version, arch, and build number) is already
installed on the system.'Requires root privileges' (like
slackware command upgradepkg --reinstall)
2014-11-18 12:30:58 +01:00
2014-08-26 03:11:10 +02:00
.SS -r , remove packages
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-r\fP <\fIname of packages\fP>
.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-08-09 05:31:52 +02:00
/var/log/packages/), or by the base package name. If installed
packages with command 'slpkg -s sbo <package>' then write a file
in /var/log/slpkg/dep/ with all dependencies and it allows you
can remove them all together. 'Requires root
2014-05-23 07:46:51 +02:00
privileges' (like slackware command removepkg)
2014-11-18 12:30:58 +01:00
2014-08-26 03:11:10 +02:00
.SS -d , display contents
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-d\fP <\fIname of packages\fP>
.PP
Display the contents of the package with all descriptions.
2014-11-18 12:30:58 +01:00
2014-05-23 07:46:51 +02:00
.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
2014-11-14 13:20:07 +01:00
.SH FILES
/etc/slpkg/slpkg.conf
General configuration of slpkg
/etc/slpkg/blacklist
List of packages to skip
/var/log/slpkg
ChangeLog.txt repositories files
SlackBuilds logs and dependencies files
/var/lib/slpkg
PACKAGES.TXT files and SLACKBUILDS.TXT file
/tmp/slpkg
Slpkg temponary donwloaded files and build packages
2014-05-23 07:46:51 +02:00
.SH AUTHOR
Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2014-09-25 00:40:55 +02:00
.SH HOMEPAGE
https://github.com/dslackw/slpkg
2014-05-23 07:46:51 +02:00
.SH COPYRIGHT
Copyright \(co 2014 Dimitris Zlatanidis
.SH SEE ALSO
2014-11-14 13:20:07 +01:00
installpkg(8), upgradepkg(8), removepkg(8), pkgtool(8), slackpkg(8), explodepkg(8),
makepkg(8).