slpkg/man/slpkg.8

293 lines
11 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-06-07 06:40:31 +02:00
.TH Slpkg "8" "6" 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-06-13 05:56:09 +02:00
[update, --only=[...]] [upgrade, --only=[...]]
[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-06-13 05:41:02 +02:00
[-h] [-v]
[-a [script] [sources...]]
2015-06-09 03:24:47 +02:00
[-b [package...] --add, --remove, list]
[-q [package...] --add, --remove, list]
2015-06-13 05:41:02 +02:00
[-q [build, install, build-install]]
[-g [print, edit=[editor]]]
2015-02-04 00:36:27 +01:00
[-l [repository], --index, --installed]
2015-06-13 05:56:09 +02:00
[-c [repository] --upgrade, --skip=[...] --resolve-off]
[-s [repository] [package...], --resolve-off]
[-t [repository] [package]]
2015-01-04 02:40:35 +01:00
[-p [repository] [package], --color=[]]
2015-06-13 05:41:02 +02:00
[-n [SBo package]] [-F [...]] [-f [...]]
[-i [options] [...]] [-u [options] [...]]
[-r [options] [...], --check-deps] [-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.
2015-02-07 01:23:53 +01:00
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
2015-06-13 05:56:09 +02:00
\fBslpkg\fP \fBupdate\fP, \fB--only=[repositories...]\fP
2014-12-10 04:18:31 +01:00
.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.
2015-06-13 05:56:09 +02:00
With additional option "--only=" update at specifically repositories.
2014-12-10 04:18:31 +01:00
2015-02-22 15:31:19 +01:00
.SS upgrade, recreate packages list
2015-06-13 05:56:09 +02:00
\fBslpkg\fP \fBupgrade\fP, \fB--only=[repositories...]\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.
2015-06-13 05:56:09 +02:00
Additional option "--only=" just like "slpkg update --only=[repositories...]".
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-06-11 02:13:23 +02:00
contain at least the files "PACKAGES.TXT" and "CHECKSUMS.md5" and optional file
"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.
2015-06-15 06:14:30 +02:00
.SH OPTIONS
.PP
The following arguments are available.
2015-06-07 06:36:42 +02:00
.SS -a, --autobuild, auto build packages
\fBslpkg\fP \fB-a\fP <\fIscript.tar.gz\fP> <\fIsources\fP>
2014-05-23 07:46:51 +02:00
.PP
2015-06-07 06:36:42 +02:00
If you already have download the script and source with this argument you can build Slackware
package from source quickly and easy.
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -b, --blacklist, add, remove, view packages in blacklist
\fBslpkg\fP \fB-b\fP <\fIname of packages\fP> \fB--add\fP, \fB--remove\fP, \fBlist\fP
2014-10-04 00:44:18 +02:00
.PP
2015-06-07 06:36:42 +02:00
Add, remove or listed packages from blacklist file. The settings here affect
2015-06-16 17:17:15 +02:00
all repositories. Remove all packages from blacklist use argument "ALL" for package
like "# slpkg -b ALL --remove".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -q, --queue, add, remove, view packages in queue
\fBslpkg\fP \fB-q\fP <\fInames of packages\fP> \fB--add\fP, \fB--remove\fP
2014-11-18 12:30:58 +01:00
.TP
2015-06-07 06:36:42 +02:00
\fBslpkg\fP \fB-q\fP \fBlist\fP, \fBbuild\fP, \fBinstall\fP, \fBbuild-install\fP
2014-10-11 04:06:04 +02:00
.PP
2015-06-07 06:36:42 +02:00
Add, remove and listed 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
2015-06-16 20:55:26 +02:00
dependencies. If you want to remove all the packages from the list run "# slpkg -q ALL --remove".
2015-05-21 04:14:44 +02:00
(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
2015-06-07 06:36:42 +02:00
.SS -g, --config, configuration file management
\fBslpkg\fP \fB-g\fP \fBprint\fP, \fBedit=[editor]\fP
2014-11-18 12:30:58 +01:00
.PP
2015-06-07 06:36:42 +02:00
Print configuration file or edit with your favorite editor.
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -l, --list, 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-06-07 06:36:42 +02:00
Print a list of all available packages repository, index or print only packages installed on the
2015-06-11 02:13:23 +02:00
system. Support command "grep" like "# slpkg -l sbo | grep python".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -c, --check, check if your packages is up to date
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fB--upgrade\fP \fB--skip=[packages...]\fP,
\fB--resolve-off\fP
2014-09-05 05:20:59 +02:00
.PP
2015-06-11 02:13:23 +02:00
Check your packages if up to date. Option "--skip" help to skip packages when upgrading and
2015-06-13 05:56:09 +02:00
additional option "--resolve-off" switch off automatic resolve dependencies.
2015-06-11 02:13:23 +02:00
Slackware patches repository works independently of the others i.e not need before updating
2015-01-29 02:31:03 +01:00
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.
2015-06-15 06:14:30 +02:00
Also you can check ChangeLog.txt for changes without option "--upgrade" like:
"# slpkg -c [repository]" or check all enabled repositories just replace repository name with
"ALL".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -s, --sync, synchronize packages, download, build and install package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fInames of packages\fP>, \fB--resolve-off\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-06-11 02:13:23 +02:00
dependencies of the package. Switch off automatic resolve dependencies with additional option
"--resolve-off".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -t, --tracking, 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-06-07 06:36:42 +02:00
Also you can check if the installed package has all the required dependencies.
2014-11-18 12:30:58 +01:00
2015-06-20 01:56:36 +02:00
.SS -p, --desk, print packages description
2015-06-04 03:25:57 +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
2015-06-07 06:36:42 +02:00
Print package description from remote repository with color. Available colors:
red, green, yellow, cyan, grey
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -F, --FIND, find packages from repositories
\fBslpkg\fP \fB-F\fP <\fInames of packages\fP>
2015-05-28 01:32:13 +02:00
.PP
2015-06-11 02:13:23 +02:00
Find packages from all repositories are enabled. Useful command to find all available
packages per repository.
2015-06-07 06:36:42 +02:00
.SS -f, --find, find istalled packages
\fBslpkg\fP \fB-f\fP <\fInames of packages\fP>
2014-11-14 13:20:07 +01:00
.PP
Find installed packages with view total file size.
2015-06-11 02:13:23 +02:00
Example you can view all installed sbo packages like "# slpkg -f _SBo".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -n, --network, 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
2015-06-10 22:02:11 +02:00
.SS -i, --installpkg, install Slackware binary packages
\fBslpkg\fP \fB-i\fP \fB[--warn, --md5sum, --root /otherroot, --infobox, --menu, --terse,
--ask, --priority ADD|REC|OPT|SKP, --tagfile /somedir/tagfile]\fP <\fIpackages.t?z\fP>
2014-05-23 07:46:51 +02:00
.PP
2015-05-21 04:14:44 +02:00
Installs single binary packages designed for use with the Slackware Linux
2015-06-11 02:13:23 +02:00
distribution into your system. More information please read "man installpkg".
2014-11-18 12:30:58 +01:00
2015-06-10 22:02:11 +02:00
.SS -u, --upgradepkg, install-upgrade Slackware binary packages with new
\fBslpkg\fP \fB-u\fP \fB[--dry-run, --install-new, --reinstall, --verbose]\fP <\fIpackages.t?z\fP>
2014-05-23 07:46:51 +02:00
.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.
2015-06-11 02:13:23 +02:00
More information please read "man upgradepkg".
2014-11-18 12:30:58 +01:00
2015-06-10 22:02:11 +02:00
.SS -r, --removepkg, remove previously installed Slackware binary packages
2015-06-13 05:41:02 +02:00
\fBslpkg\fP \fB-r\fP \fB[-copy, -keep, -preserve, -warn]\fP <\fInames of packages\fP>, \fB--check-deps\fP
2014-05-23 07:46:51 +02:00
.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
2015-06-13 05:41:02 +02:00
packages with command "slpkg -s <repo> <packages>" then write a file in /var/log/slpkg/dep/
with all dependencies and it allows you can remove them all together. But with the additional
option "--check-deps" report a list of packages we are dependencies in use.
2015-06-11 02:13:23 +02:00
More information please read "man removepkg".
2014-11-18 12:30:58 +01:00
2015-06-07 06:36:42 +02:00
.SS -d, --display, display the installed packages contents and file list
\fBslpkg\fP \fB-d\fP <\fInames of packages\fP>
2014-05-23 07:46:51 +02:00
.PP
2015-06-07 06:36:42 +02:00
Display the installed Slackware packages contents and file list 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
2015-06-01 05:23:27 +02:00
.SH DEFAULT REPOSITORIES
2015-06-11 02:13:23 +02:00
slackware.com = "slack"
SlackBuilds.org = "sbo"
Alien"s = "alien"
slacky.eu = "slacky"
rworkman"s = "rlw"
studioware.org = "studio"
slacker.it = "slackr"
slackonly.com = "slonly"
Alien"s ktown = "ktown{latest}"
Alien"s multilib = "multi"
Slacke E17 and E18 = "slacke{18}"
SalixOS = "salix"
Slackel.gr = "slackel"
Alien"s restricted = "rested"
2015-06-13 05:41:02 +02:00
MATE Desktop Environment = "msb"
2015-06-01 05:23:27 +02:00
2015-06-11 02:13:23 +02:00
Default enable repository is "slack" and "sbo".
Add or remove default repository in configuration file "/etc/slpkg/slpkg.conf".
2015-06-01 05:23:27 +02:00
Read REPOSITORIES file for explanations.
2015-06-10 22:02:11 +02:00
.SH COLORS
red, green, yellow, cyan, grey
2015-06-01 05:23:27 +02:00
2015-06-10 22:02:11 +02:00
.SH PASS VARIABLES TO SCRIPT
If you want to pass variables to the script exported as:
Usage: <NAME_VARIABLE=value>
2015-06-01 05:23:27 +02:00
Example:
2015-06-11 02:13:23 +02:00
"# export FFMPEG_X264=yes FFMPEG_LAME=yes"
2015-06-01 05:23:27 +02:00
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).