slpkg/man/slpkg.8

293 lines
11 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-08-26 22:33:26 +02:00
\fBusage: slpkg [-h] [-v] [-a script [source ...]]
[-l all, sbo, slack, noarch] [-c sbo, slack [<upgrade> ...]]
2014-09-14 16:25:53 +02:00
[-s sbo, slack [<package> ...]] [-f] [-t] [-n] [-i [...]]
[-u [...]] [-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
\fB-h, --help show this help message and exit\fP
\fB-v, --verbose print version and exit\fP
2014-05-30 11:27:34 +02:00
\fB-a script [source ...]\fP
2014-07-31 05:44:04 +02:00
\fB auto build packages\fP
2014-08-26 03:11:10 +02:00
\fB-l all, sbo, slack, noarch\fP
2014-07-28 15:32:43 +02:00
\fB list of installed packages\fP
2014-08-26 22:33:26 +02:00
\fB-c sbo, slack [<upgrade> ...]\fp
2014-07-28 15:32:43 +02:00
\fB check if your packages is up to date\fP
2014-08-26 22:33:26 +02:00
\fB-s sbo, slack [<package> ...]\fP
2014-07-28 15:32:43 +02:00
\fB download, build & install packages\fP
2014-09-14 16:25:53 +02:00
\fB-f find installed packages\fP
2014-08-04 02:02:38 +02:00
\fB-t packages tracking dependencies from SBo\fP
2014-07-31 05:44:04 +02:00
\fB-n view packages from SBo repositority\fP
2014-05-23 07:46:51 +02:00
\fB-i [ ...] install binary packages\fP
2014-07-28 15:32:43 +02:00
\fB-u [ ...] upgrade binary packages\fP
\fB-o [ ...] reinstall binary packages\fP
2014-08-04 02:02:38 +02:00
\fB-r [ ...] remove binary packages\fP
2014-05-23 07:46:51 +02:00
\fB-d [ ...] display the contents of the packages\fP
.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-30 11:27:34 +02:00
.SS -a script source extra
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-08-26 03:11:10 +02:00
.SS -l all, sbo, slack, noarch
2014-05-23 07:46:51 +02:00
\fBslpkg\fP \fB-l\fP <\fIall\fP> <\fIsbo\fP>
.PP
2014-08-26 03:11:10 +02:00
Four display options list, sbo, slack, noarch and all packages
items that are installed on the system.
2014-09-05 05:20:59 +02:00
.SS -c , sbo, slack [sbo, slack ...] check if your packages is up to date
\fBslpkg\fP \fB-c\fP <\fIsbo\fP> <\fIslack\fP> <\fIupgrade\fP>
.PP
Check your packages from Slackware official mirrors or from
slackbuilds.org is up to date.
.SS -s , sbo, slack [sbo, slack ...] download, build and install package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIsbo\fP> <\fIslack\fP> <\fIname of package\fP>
.PP
2014-09-19 21:52:16 +02:00
Installs or upgrade packages from the repository slackbuilds.org automatically resolving all
2014-09-05 05:20:59 +02:00
dependencies of the package. Also installs the official distribution Slackware
packages.
2014-09-14 16:25:53 +02:00
.SS -f find packages
\fBslpkg\fP \fB-f\fP <\fIname of packages\fP>
.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 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)
.SS -i , install binary package
\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.
.SS -u , install-upgrade package with new
\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-08-26 03:11:10 +02:00
.SS -o , reinstall binary package
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 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-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.
.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-28 16:35:41 +02:00
2014-05-23 07:46:51 +02:00
$ \fBslpkg -t brasero\fP
2014-08-13 01:39:41 +02:00
Reading package lists...... Done
2014-05-23 07:46:51 +02:00
+=========================
2014-07-27 22:05:05 +02:00
| brasero dependencies :
2014-05-23 07:46:51 +02:00
+=========================
2014-08-04 02:02:38 +02:00
\\
2014-07-27 22:05:05 +02:00
+---[ Tree of dependencies ]
2014-05-23 07:46:51 +02:00
|
2014-08-04 02:02:38 +02:00
--1: orc
2014-05-23 07:46:51 +02:00
|
2014-08-04 02:02:38 +02:00
--2: gstreamer1
2014-05-23 07:46:51 +02:00
|
2014-08-04 02:02:38 +02:00
--3: gst1-plugins-base
2014-05-23 07:46:51 +02:00
|
2014-08-04 02:02:38 +02:00
--4: gst1-plugins-bad
|
--5: libunique
2014-07-31 05:44:04 +02:00
$ \fBslpkg -s sbo brasero\fP
2014-08-13 01:39:41 +02:00
Building dependency tree...... Done
2014-09-05 05:20:59 +02:00
The following packages will be automatically installed or upgraded
with new version:
2014-08-22 07:20:29 +02:00
+==============================================================================
2014-09-05 05:20:59 +02:00
| Package Version Arch Repository
2014-08-22 07:20:29 +02:00
+==============================================================================
Installing:
2014-09-05 05:20:59 +02:00
brasero 3.11.3 x86_64 SBo
2014-08-22 07:20:29 +02:00
Installing for dependencies:
2014-09-05 05:20:59 +02:00
orc 0.4.19 x86_64 SBo
gstreamer1 1.2.2 x86_64 SBo
gst1-plugins-base 1.2.2 x86_64 SBo
gst1-plugins-bad 1.2.2 x86_64 SBo
libunique 1.1.6 x86_64 SBo
2014-08-13 01:39:41 +02:00
2014-08-22 07:20:29 +02:00
Installing summary
===============================================================================
Total 6 packages.
2014-09-08 02:36:40 +02:00
2 packages will be installed, 3 allready installed and 1 packages
will be upgraded.
2014-08-13 01:39:41 +02:00
Do you want to continue [Y/n]? y
2014-07-31 05:44:04 +02:00
.
.
.
2014-05-28 16:35:41 +02:00
+==============================================================================
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
+==============================================================================
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# brasero (CD/DVD burning application)
#
# Brasero is a application to burn CD/DVD for the Gnome Desktop. It is
# designed to be as simple as possible and has some unique features to
# enable users to create their discs easily and quickly.
#
# Homepage: http://projects.gnome.org/brasero
#
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
2014-05-23 07:46:51 +02:00
2014-08-26 03:11:10 +02:00
$ \fBslpkg -c sbo upgrade\fP
2014-08-13 01:39:41 +02:00
Reading package lists. Done
2014-05-23 07:46:51 +02:00
2014-08-26 03:11:10 +02:00
These packages need upgrading:
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-08-26 03:11:10 +02:00
| Package New version Arch Repository
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-08-26 03:11:10 +02:00
Upgrading:
six-1.7.1 1.7.3 x86_64 SBo
pysetuptools-3.4 3.6 x86_64 SBo
Jinja2-2.7.0 2.7.2 x86_64 SBo
pysed-0.3.0 0.3.1 x86_64 SBo
Pafy-0.3.56 0.3.58 x86_64 SBo
MarkupSafe-0.21 0.23 x86_64 SBo
pip-1.5.3 1.5.6 x86_64 SBo
colored-1.1.1 1.1.4 x86_64 SBo
Installing summary
===============================================================================
2014-09-08 02:36:40 +02:00
Total 8 packages will be upgraded and 0 package will be installed.
2014-08-26 03:11:10 +02:00
Would you like to upgrade [Y/n]?
2014-06-05 12:25:50 +02:00
2014-07-26 06:59:53 +02:00
$ \fBslpkg -c slack upgrade\fp
2014-08-13 01:39:41 +02:00
Reading package lists....... Done
2014-07-26 06:59:53 +02:00
2014-08-13 01:39:41 +02:00
Slackware64 v14.1 distribution is up to date
2014-05-23 07:46:51 +02:00
$ \fBslpkg -n termcolor\fP
2014-08-13 01:39:41 +02:00
Reading package lists. Done
2014-05-23 07:46:51 +02:00
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-07-27 22:05:05 +02:00
| Package termcolor --> http://slackbuilds.org/repository/14.1/python/termcolor/
2014-07-21 01:54:58 +02:00
+==============================================================================
2014-09-23 22:00:07 +02:00
| Description : ANSII Color formatting for output in terminal
2014-07-28 15:32:43 +02:00
| SlackBuild : termcolor.tar.gz
| Source : termcolor-1.1.0.tar.gz
2014-07-27 22:05:05 +02:00
| Requirements :
2014-07-21 01:54:58 +02:00
+===============================================================================
2014-05-23 07:46:51 +02:00
README View the README file
SlackBuild View the SlackBuild file
Info View the Info file
Download Download this package
Build Download and build this package
2014-06-05 12:25:50 +02:00
Install Download/Build/Install
2014-05-23 07:46:51 +02:00
_
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
must be in the same directory.
2014-05-30 11:27:34 +02:00
$ \fBslpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz\fP
2014-05-23 07:46:51 +02:00
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
$ \fBslpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz\fP
Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
$ \fBslpkg -r termcolor yetris\fP
2014-07-22 07:13:04 +02:00
2014-07-31 05:44:04 +02:00
Packages with name matching [ termcolor, yetris ]
2014-07-26 06:59:53 +02:00
[ delete ] -- > termcolor-1.1.0-x86_64-1_SBo
2014-07-31 05:44:04 +02:00
No such package yetris: Can't find
2014-05-23 07:46:51 +02:00
2014-07-22 07:13:04 +02:00
Are you sure to remove 1 package(s) [Y/y]
2014-05-23 07:46:51 +02:00
Package: termcolor-1.1.0-x86_64-1_SBo
Package: yetris-2.0.1-x86_64-1_SBo
Removing...
2014-07-26 06:59:53 +02:00
Package termcolor removed
2014-05-24 09:09:34 +02:00
2014-05-23 07:46:51 +02:00
$ \fBslpkg -f termcolor\fP
2014-09-14 16:25:53 +02:00
Installed packages with name matching [ termcolor ]
2014-07-31 05:44:04 +02:00
2014-09-14 16:25:53 +02:00
No package was found to match
2014-05-23 07:46:51 +02:00
$ \fBslpkg -d termcolor\fP
2014-07-31 05:44:04 +02:00
No such package termcolor: Can't dislpay
2014-05-23 07:46:51 +02:00
$ \fBslpkg -v\fP
Version: x.x.x
.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)