slpkg/man/slpkg.8

167 lines
7 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-09-27 23:06:45 +02:00
\fBUsage: slpkg [-h] [-v] [-a script [sources...]]
2014-10-04 01:12:48 +02:00
[-b --list, --add, --remove [...]]
2014-10-11 04:56:37 +02:00
[-q --list, [...] --add, --remove]
[-q --build, --install, --build-install]
2014-09-27 23:06:45 +02:00
[-l all, sbo, slack, noarch]
2014-10-01 20:10:13 +02:00
[-c <repository> --upgrade --current]
[-s <repository> <package> --current]
2014-10-04 01:12:48 +02:00
[-f] [-t] [-n] [-i [...]] [-u [...]]
[-o [...]] [-r [...]] [-d [...]]\fp
2014-08-26 04:10:16 +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-09-30 03:30:35 +02:00
\fBUtility for easy management packages in Slackware
2014-09-27 23:06:45 +02:00
2014-09-30 03:30:35 +02:00
Optional arguments:
2014-10-04 01:12:48 +02:00
-h, --help show this help message and exit
-v, --version print version and exit
-a, script [source...] auto build packages
-b, --list, [package...] --add, --remove add, remove packages in blacklist
2014-10-11 04:56:37 +02:00
-q, --list, [package...] --add, --remove add, remove packages in queue
--build, --install, --build-install build or install from queue
2014-11-07 06:05:23 +01:00
-l, <repository>, all, noarch list of installed packages
2014-10-04 01:12:48 +02:00
-c, <repository> --upgrade --current check for updated packages
-s, <repository> <package> --current download, build & install
-f, <package> find installed packages
-t, <package> tracking dependencies from SBo
-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
2014-09-30 03:30:35 +02:00
2014-11-07 06:05:23 +01:00
Note: '-q' options is working only for SBo repository
2014-09-30 03:30:35 +02:00
Repositories:
2014-11-07 06:05:23 +01:00
Slackware = slack '--current'
Alien = alien '--current'
2014-09-30 03:30:35 +02:00
SlackBuilds = sbo
2014-11-07 06:05:23 +01:00
Slacky = slacky
Robby's = rlw\fP
2014-05-23 07:46:51 +02:00
.SH GLOBAL OPTIONS
.TP
2014-09-27 23:06:45 +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-05-30 11:27:34 +02:00
.SS -a script source extra
2014-09-14 16:46:06 +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-10-04 01:12:48 +02:00
.SS -b , --list <packages> -- add --remove
\fBslpkg\fP \fB-b\fP \fB--list\fP <\fIpackages\fP> \fB--add\fP \fB--remove\fP
.PP
2014-10-11 04:56:37 +02:00
List, add or remove packages from blacklist file. The settings here affect
2014-10-04 01:12:48 +02:00
all repositories.
2014-10-11 04:56:37 +02:00
.SS -q , --list <packages> --add, --remove, --build, --install, --build-install
\fBslpkg\fP \fB-q\fP \fB--list\fP <\fIpackages\fP> \fB--add\fP \fB--remove\fP
.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)
.PP
\fBslpkg\fP \fB-q\fP \fB--build\fP \fB--install\fP \fB--build-install\fP
.PP
Build or install or build and install packages are queued.
2014-08-26 04:10:16 +02:00
.SS -l all, sbo, slack, noarch
2014-10-11 04:56:37 +02:00
\fBslpkg\fP \fB-l\fP \fIall\fP \fIsbo\fP \fIslack\fP \fInoarch\fP
2014-05-23 07:46:51 +02:00
.PP
2014-08-26 04:10:16 +02:00
Four display options list, sbo, slack, noarch and all packages
items that are installed on the system.
2014-09-27 23:06:45 +02:00
.SS -c , <repository> check if your packages is up to date
2014-10-11 04:56:37 +02:00
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fI--upgrade\fP \fB--current\fP
2014-09-05 05:50:40 +02:00
.PP
Check your packages from Slackware official mirrors or from
2014-10-01 20:10:13 +02:00
slackbuilds.org is up to date. Use '--current' to switch in current repository.
2014-09-27 23:06:45 +02:00
.SS -s , <repository> download, build and install package with all dependencies
2014-10-11 04:56:37 +02:00
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fIname of package\fP> \fB--current\fP
2014-09-05 05:50:40 +02:00
.PP
2014-09-19 22:07:40 +02:00
Installs or upgrade packages from the repository slackbuilds.org automatically resolving all
2014-09-05 05:50:40 +02:00
dependencies of the package. Also installs the official distribution Slackware
2014-10-01 20:10:13 +02:00
packages. Use '--current' to install packages from Slackware current repository.
2014-09-14 16:46:06 +02:00
.SS -f find packages
2014-10-11 04:56:37 +02:00
\fBslpkg\fP \fB-f\fP <\fIname of package\fP>
2014-09-14 16:46:06 +02:00
.PP
Find installed packages with view total file size.
2014-05-23 07:46:51 +02:00
.SS -t , tracking dependencies
\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-09-19 22:07:40 +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-10-11 04:56:37 +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-10-11 04:56:37 +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-10-11 04:56:37 +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-08-26 04:10:16 +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-08-26 04:10:16 +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.
.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 AUTHOR
Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2014-09-25 01:10:10 +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
installpkg(8), upgradepkg(8), removepkg(8), pkgtool(8), slackpkg(8)