slpkg/man/slpkg.8

324 lines
12 KiB
Groff
Raw Normal View History

2014-05-23 07:46:51 +02:00
.\" -*- nroff -*-
2015-05-21 01:00:07 +02:00
.\" Copyright (C) 2014-2015 Dimitris Zlatanidis
2014-05-23 07:46:51 +02:00
.\"
.\" 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.
.\"
2015-05-21 01:00:07 +02:00
.TH Slpkg "8" "5 2015" "slpkg"
2014-05-23 07:46:51 +02:00
.SH NAME
2014-12-19 05:57:56 +01:00
Slpkg is a user-friendly package manager for Slackware installations
2014-05-23 07:46:51 +02:00
.SH SYNOPSIS
2015-01-04 02:40:35 +01:00
Usage: slpkg Commands:
2015-02-22 15:31:19 +01:00
[update] [upgrade] [repo-add [repository name] [URL]]
2015-01-07 07:20:22 +01:00
[repo-remove [repository]] [repo-list]
2015-01-04 02:40:35 +01:00
[repo-info [repository]] [update [slpkg]]
Optional arguments:
2015-01-07 08:27:05 +01:00
[-h] [-v] [-a [script.tar.gz] [sources...]]
2015-05-21 00:41:46 +02:00
[-b list, [...] --add, --remove]
[-q list, [...] --add, --remove]
[-q build, install, build-install]
[-g config, config=[editor]]
2015-02-04 00:36:27 +01:00
[-l [repository], --index, --installed]
2015-01-04 02:40:35 +01:00
[-c [repository] --upgrade]
2015-01-23 04:49:39 +01:00
[-s [repository] [package...]
2015-01-04 02:40:35 +01:00
[-t [repository] [package]
[-p [repository] [package], --color=[]]
2015-05-21 03:34:33 +02:00
[-n [SBo package]] [-f [...]] [-i [...]] [-u [...]]
2015-01-04 02:40:35 +01:00
[-o [...]] [-r [...]] [-d [...]]
2014-08-26 03:11:10 +02:00
2014-05-23 07:46:51 +02:00
.SH DESCRIPTION
2015-05-21 03:37:41 +02:00
Slpkg is a powerful software package manager that installs, updates, and
removes packages on Slackware based systems. It automatically computes
dependencies and figures out what things should occurto install packages.
Slpkg makes it easier to maintain groups of machines without having to
manually update.
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-12-19 05:57:56 +01:00
Slpkg is a user-friendly package manager for Slackware installations
2014-12-02 00:27:17 +01:00
2014-12-10 04:18:31 +01:00
Commands:
update update all package lists
2015-02-24 21:01:46 +01:00
upgrade upgrade all package lists
2015-01-07 07:20:22 +01:00
repo-add [repository name] [URL] add custom repository
repo-remove [repository] remove custom repository
2015-01-28 21:23:16 +01:00
repo-list list all repositories
repo-info [repository] repository information
2014-12-15 12:10:00 +01:00
update slpkg check and update slpkg
2014-12-10 04:18:31 +01:00
2014-12-02 00:27:17 +01:00
Optional arguments:
-h, --help show this help message and exit
-v, --version print version and exit
2015-01-07 08:27:05 +01:00
-a, [script.tar.gz] [source...] auto build SBo packages
2015-05-21 00:41:46 +02:00
-b, list, [package...] --add, --remove add, remove packages in blacklist
-q, list, [package...] --add, --remove add, remove SBo packages in queue
-q, build, install, build-install build, install packages from queue
-g, config, config=<editor> configuration file management
2015-02-04 00:36:27 +01:00
-l, [repository], --index, --installed list of repositories packages
2014-12-02 00:27:17 +01:00
-c, [repository] --upgrade check for updated packages
2015-01-28 21:23:16 +01:00
-s, [repository] [package...] download, build & install packages
-t, [repository] [package] package tracking dependencies
2014-12-15 05:23:48 +01:00
-p, [repository] [package], --color=[] print package description
2015-04-23 04:03:09 +02:00
-n, [package] view SBo site package in terminal
2014-12-30 07:47:15 +01:00
-f, [package...] find installed packages
2014-12-02 00:27:17 +01:00
-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
2015-02-07 01:23:53 +01:00
.SH PACKAGE FILE
Instead of [package...] you can create file with the suffix '.pkg' which was to
contain the packages you want to work like:
# echo "brasero
> bitfighter
> ffmpeg" > foo.pkg
# cat foo.pkg
> brasero
> bitfighter
> ffmpeg
Example:
# slpkg -s sbo foo.pkg
or
# slpkg -r foo.pkg
2015-01-07 08:27:05 +01:00
.SH DEFAULT REPOSITORIES
2014-12-18 07:15:07 +01:00
slackware.com = 'slack'
SlackBuilds.org = 'sbo'
2014-12-24 06:42:06 +01:00
Alien's = 'alien'
2014-12-18 07:15:07 +01:00
slacky.eu = 'slacky'
rworkman's = 'rlw'
studioware.org = 'studio'
slacker.it = 'slackr'
2014-12-18 16:10:02 +01:00
slackonly.com = 'slonly'
2014-12-25 09:47:18 +01:00
Alien's ktown = 'ktown{latest}'
2014-12-24 10:22:07 +01:00
Alien's multilib = 'multi'
2014-12-25 09:47:18 +01:00
Slacke E17 and E18 = 'slacke{18}'
2014-12-26 23:58:03 +01:00
SalixOS = 'salix'
Slackel.gr = 'slackel'
2015-01-07 08:27:05 +01:00
Alien's restricted = 'rested'
2014-12-25 09:47:18 +01:00
2014-12-20 07:17:48 +01:00
Default enable repository is 'slack' and 'sbo'.
2015-01-04 02:40:35 +01:00
Add or remove default repository in configuration file '/etc/slpkg/slpkg.conf'.
Read REPOSITORIES file for explanations.
2014-12-20 07:17:48 +01:00
2014-12-02 00:27:17 +01:00
.SH COLORS
red, green, yellow, cyan, grey
.PP
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
2015-01-04 02:40:35 +01:00
.SS update, create and update packages list
2014-12-10 04:18:31 +01:00
\fBslpkg\fP \fBupdate\fP
.PP
Used to re-synchronize the package lists and create some important files.
2014-12-15 05:23:48 +01:00
This command must run every new repository is added or new updates is available.
2014-12-10 04:18:31 +01:00
2015-02-22 15:31:19 +01:00
.SS upgrade, recreate packages list
\fBslpkg\fP \fBupgrade\fP
2014-12-20 07:17:48 +01:00
.PP
It is sometimes useful to create all of the base file from the beginning so this
2015-02-22 15:31:19 +01:00
command delete all the package lists and recreated.
2014-12-20 07:17:48 +01:00
2015-01-04 02:40:35 +01:00
.SS repo-add, add custom repository
2015-01-07 07:20:22 +01:00
\fBslpkg\fP \fBrepo-add\fP <\fIrepository name\fP> <\fIURL\fP>
2015-01-04 02:40:35 +01:00
.PP
2015-01-07 07:20:22 +01:00
Add custom binary repository. The repositories will be added to this command should
2015-01-04 02:40:35 +01:00
contain at least the files 'PACKAGES.TXT' and 'CHECKSUMS.md5' and optional file
2015-01-07 11:43:06 +01:00
ChangeLog.txt.
2015-01-04 02:40:35 +01:00
.SS repo-remove, remove custom repository
2015-01-07 07:20:22 +01:00
\fBslpkg\fP \fBrepo-remove\fP <\fIrepository\fP>
2015-01-04 02:40:35 +01:00
.PP
Remove custom repository by name.
.SS repo-list, repositories list
\fBslpkg\fP \fBrepo-list\fP
2014-12-22 03:44:49 +01:00
.PP
Lists all enabled or disabled repositories.
2015-01-04 02:40:35 +01:00
.SS repo-info, repository information
\fBslpkg\fP \fBrepo-info\fP <\fBrepository\fP>
2014-12-22 09:37:01 +01:00
.PP
View repository information.
2014-12-15 12:10:00 +01:00
.SS update slpkg
\fBslpkg\fP \fBupdate\fP \fBslpkg\fP
.PP
You can check for new versions and update slpkg itself.
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.
2015-05-21 04:14:44 +02:00
(If you want to pass variables to the script exported as: '# export FFMPEG_X264=yes FFMPEG_LAME=yes')
2014-11-18 12:30:58 +01:00
.SS -b , add, remove, view packages in blacklist
2015-05-21 00:41:46 +02:00
\fBslpkg\fP \fB-b\fP \fBlist\fP, <\fIpackages\fP> \fB--add\fP, \fB--remove\fP
2014-10-04 00:44:18 +02:00
.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
2015-05-21 00:41:46 +02:00
\fBslpkg\fP \fB-q\fP \fBlist\fP, <\fIpackages\fP> \fB--add\fP, \fB--remove\fP
2014-11-18 12:30:58 +01:00
.TP
2015-05-21 00:41:46 +02:00
\fBslpkg\fP \fB-q\fP \fBbuild\fP, \fBinstall\fP, \fBbuild-install\fP
2014-10-11 04:06:04 +02:00
.PP
2015-01-16 21:55:28 +01:00
List, add, or remove sbo packages from queue. This argument is very useful if you want
2015-05-21 04:14:44 +02:00
to build and install multiple packages together. Note the correct order if there are
dependencies. If you want to remove all the packages from the list run '# slpkg -q all --remove'.
(these arguments only working for the sbo repository)
2014-10-11 04:06:04 +02:00
Build or install or build and install packages are queued.
2014-11-18 12:30:58 +01:00
.SS -g , configuration file management
2015-05-21 00:41:46 +02:00
\fBslpkg\fP \fBconfig\fP, \fBconfig=[editor]\fP
2014-11-18 12:30:58 +01:00
.PP
Print configuration file or edit with editor.
2015-01-04 02:40:35 +01:00
.SS -l , list of installed packages
2015-04-14 03:21:25 +02:00
\fBslpkg\fP \fB-l\fP <\fIrepository\fP>, \fB--index\fP, \fB--installed\fP
2014-05-23 07:46:51 +02:00
.PP
2015-01-28 21:23:16 +01:00
List of packages per repository. Support command 'grep' like '# slpkg -l sbo | grep "python"'.
2014-11-18 12:30:58 +01:00
.SS -c , check if your packages is up to date
2015-04-14 03:21:25 +02:00
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP
2014-09-05 05:20:59 +02:00
.PP
2015-05-21 04:14:44 +02:00
Check your packages if up to date.
2015-01-29 02:31:03 +01:00
Slackware 'patches' repository works independently of the others i.e not need before updating
the list of packages by choosing "# slpkg update", works directly with the official repository
2015-05-21 04:14:44 +02:00
and so always you can have updated your system.
2014-11-18 12:30:58 +01:00
.SS -s , download, build and install package with all dependencies
2015-01-28 21:23:16 +01:00
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fIname of packages\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
2015-01-29 02:31:03 +01:00
dependencies of the package. Sometimes to install a package have to pass part of the
version of the package as 'slpkg -s alien ffmpeg-2.4.3'.
2015-05-21 04:14:44 +02:00
(If you want to pass variables to the script exported as: '# export FFMPEG_X264=yes FFMPEG_LAME=yes')
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.
2015-05-21 04:14:44 +02:00
Also you can check if the package has installed all the required dependencies.
2014-11-18 12:30:58 +01:00
2014-11-14 13:20:07 +01:00
.SS -p , print packages description
2015-04-14 03:21:25 +02:00
\fBslpkg\fP \fB-p\fP <\fIrepository\fP> <\fIname of package\fP>, \fB--color=\fP
2014-11-14 13:20:07 +01:00
.PP
2014-12-02 00:27:17 +01:00
Print package description with color. Available colors: red, green, yellow, cyan, grey
2014-11-18 12:30:58 +01:00
2015-02-04 00:36:27 +01:00
.SS -f , find packages
2015-01-04 02:40:35 +01:00
\fBslpkg\fP \fB-f\fP <\fIname of packages\fP>
2014-11-14 13:20:07 +01:00
.PP
Find installed packages with view total file size.
2015-01-28 21:23:16 +01:00
Example you can view all installed sbo packages like '# slpkg -f _SBo'.
2014-11-18 12:30:58 +01:00
2015-01-29 02:31:03 +01:00
.SS -n , view SBo packages
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-n\fP <\fIname of package\fP>
.PP
2015-05-21 04:14:44 +02:00
View complete slackbuilds.org site in your terminal. Read file, download,
build or install etc.
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
2015-05-21 04:14:44 +02:00
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
2015-05-21 04:14:44 +02:00
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.
2014-05-23 07:46:51 +02:00
(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
2015-05-21 04:14:44 +02:00
Upgradepkg usually skips packages if the exact same package (matching name, version,
arch, and build number) is already installed on the system.
(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
2015-05-21 04:14:44 +02:00
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 /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.
(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
2014-11-22 10:16:39 +01:00
/etc/slpkg/slackware-mirrors
List of Slackware Mirrors
2015-01-04 02:40:35 +01:00
/etc/slpkg/custom-repositories
List of custom repositories
2014-11-14 13:20:07 +01:00
/var/log/slpkg
ChangeLog.txt repositories files
SlackBuilds logs and dependencies files
/var/lib/slpkg
2015-01-04 02:40:35 +01:00
PACKAGES.TXT files
SLACKBUILDS.TXT files
CHECKSUMS.md5 files
FILELIST.TXT files
2014-11-14 13:20:07 +01:00
/tmp/slpkg
Slpkg temponary donwloaded files and build packages
2015-05-21 00:41:46 +02:00
/etc/slpkg/slackware-changelogs-mirror
Slackware changelogs mirror
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
2015-01-29 02:31:03 +01:00
Copyright \(co 2014-2015 Dimitris Zlatanidis
2014-05-23 07:46:51 +02:00
.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).