LinuxCommandLibrary

slackpkg

TLDR

Update the package list from mirrors

$ slackpkg update
copy
Search for a package
$ slackpkg search [package_name]
copy
Install a package
$ slackpkg install [package_name]
copy
Upgrade a package
$ slackpkg upgrade [package_name]
copy
Upgrade all installed packages
$ slackpkg upgrade-all
copy
Remove a package
$ slackpkg remove [package_name]
copy
Install new packages added since installation
$ slackpkg install-new
copy
Clean system of non-official packages
$ slackpkg clean-system
copy

SYNOPSIS

slackpkg [OPTIONS] action [PACKAGE|PATTERN|FILE]

DESCRIPTION

slackpkg is an automated tool for managing Slackware packages over the network. It downloads, installs, upgrades, and removes packages from official Slackware mirrors.
Before use, configure a mirror in /etc/slackpkg/mirrors by uncommenting one entry. Run slackpkg update to download the package list. The blacklist feature in /etc/slackpkg/blacklist prevents specific packages from being modified.
slackpkg provides both menu-based and command-line interfaces. Set DIALOG=off in /etc/slackpkg/slackpkg.conf for console-only operation.

PARAMETERS

update

Download and update the package list from mirrors
update gpg
Update GPG key for package verification
install package
Install specified package(s)
upgrade package
Upgrade specified package(s)
upgrade-all
Upgrade all installed packages to newest versions
remove package
Remove specified package(s)
reinstall package
Reinstall specified package(s)
search pattern
Search for packages matching pattern
file-search file
Search for packages containing specified file
info package
Display information about a package
install-new
Install new packages added to Slackware since installation
clean-system
Remove packages not in official Slackware distribution
blacklist package
Add package to blacklist
new-config
Find and merge new configuration files

CAVEATS

Only one mirror can be active at a time. slackpkg manages only official Slackware packages; use slackpkg+ for third-party repositories. The clean-system command removes all unofficial packages, so use with caution.

HISTORY

slackpkg was created to provide network-based package management for Slackware Linux, which traditionally relied on manual package management using installpkg, upgradepkg, and removepkg.

SEE ALSO

Copied to clipboard