PKGADD(8) System Manager's Manual PKGADD(8)

pkgaddinstall or upgrade software package

pkgadd [-Vfhuv] [-c conffile] [-r rootdir] file

pkgadd is a package management utility, which installs or upgrades a software package. The package itself is an archive of files, and its contents have a directory structure format.

The following archive formats are supported:

• .pkg.tar.gz
 
• .pkg.tar.bz2
 
• .pkg.tar.lz
 
• .pkg.tar.zst
 
• .pkg.tar.xz
 

The options are as follows:

conffile, --config=conffile
Specify an alternate configuration file instead of the default /etc/pkgadd.conf.
, --force
Force installation, overwrite conflicting files.

If the package that is about to be installed contains files that are already installed this option will cause all those files to be overwritten.

.

rootdir, --root=rootdir
Specify an alternate root directory instead of the default ‘/’.

This should be used as a way to install software into e.g. /usr/local instead of /usr. Instead this should be used if you want to install a package on a temporary mounted partition, which is “owned” by another system. By using this option you not only specify where the software should be installed, but you also specify which package database to use.

, --upgrade
Upgrade/replace package with the same name as .
, --verbose
Explain what is being done.
, --version
Print version and exit.
, --help
Print help and exit.

/etc/pkgadd.conf
Default configuration file.
/var/lib/pkg/db
Database of currently installed packages.
/var/lib/pkg/rejected/
Directory where rejected files are stored.

pkginfo(1), pkgadd.conf(5), pkgrm(8)

June 19, 2024 Zeppe-Lin