installpkg
installs Slackware packages
TLDR
SYNOPSIS
installpkg [options] package [package2 ...]
DESCRIPTION
installpkg installs Slackware binary packages, which are compressed tar archives (.txz, .tgz, .tbz, .tlz) containing files and an optional install/doinst.sh script. It extracts the contents to the filesystem and runs the install script.Package metadata is stored in /var/lib/pkgtools/packages (with /var/log/packages as a compatibility link), allowing installed files to be tracked for later removal or upgrade. To replace an already installed package, use upgradepkg instead.
PARAMETERS
--warn, --dry-run
List files that would be overwritten, without installing.--md5sum
Record the package md5sum in the package metadata.--root DIR
Install using DIR instead of / as the root (same as the ROOT environment variable).--infobox
Show an informational dialog box during installation.--menu
Ask via a dialog menu whether to install each package.--ask
With --menu, always ask regardless of package priority.--priority ADD|REC|OPT|SKP
Override tagfile priorities in menu mode.--tagfile FILE
Use a different tagfile for package priorities.--terse
Display only a single description line per package.--terselength N
Maximum line length in terse mode.--verbose
Display the complete file list during installation.--threads N
Maximum threads for xz/plzip decompression.--no-overwrite
Do not overwrite existing files (used internally by upgradepkg).
CAVEATS
Slackware-specific package tool. Does not resolve dependencies. Overwrites existing files without warning; run with --warn first to check. The old -m and -r options for building packages were removed; use Slackware's makepkg from pkgtools.
HISTORY
installpkg has been part of Slackware Linux since its early releases in 1993, written by Patrick J. Volkerding as part of pkgtools. Slackware's package management is intentionally simple, leaving dependency handling to the user.
SEE ALSO
upgradepkg(8), removepkg(8), explodepkg(8), pkgtool(8), slackpkg(8)
