PKGMAN(1) | General Commands Manual | PKGMAN(1) |
pkgman
— advanced
package management tool
pkgman |
[-Vh ] [--no-std-config ]
[--config =conffile]
[--config-set ="string"]
[--config-append ="string"]
[--config-prepend ="string"]
[--root =rootdir]
[-- ] command
[args] |
pkgman
is a package management tool that
provides additional functionality to basic package management utilities,
like pkgmk(8),
pkgadd(8),
pkgrm(8), and
pkginfo(1).
Each command has its own set of specific options and arguments. The following options are common to all commands:
--no-std-config
--config
=conffile--config-set
="string"--config-append
="string"--config-prepend
="string"--root
=rootdir/
’.-V
,
--version
-h
,
--help
--
--
” signals the end of
options and disables further option processing. Any arguments after the
“--
” are treated as
command and/or command's
arguments. It helps to specify command arguments
that starts with “--
” and
pkgman
won't confuse it with an option. For
example:
pkgman search --regex -- -lib -- search ([i] = installed) [i] alsa-lib [i] p5-libwww [...] pkgman --regex -- search -lib -- search ([i] = installed) [i] alsa-lib [i] p5-libwww [...]
pkgman
uses so-called commands, which
always have to be the first non-option argument passed. The commands can be
divided into the following self-explanatory categories:
Note:
When the --root
=rootdir option
is specified, both databases location changes to
rootdir/var/lib/pkg/db and
rootdir/var/lib/pkg/locked
respectively.
Originally written by Johannes Winkelmann <jw@tks6.net> as “prt-get” tool for CRUX.
This implementation was extensively re-worked for
Zeppe-Lin by
Alexandr Savca
<alexandr.savca89@gmail.com>.
September 9, 2023 | Zeppe-Lin |