SPKG(8)

NAME
spkg - The Unofficial Slackware Linux Package Manager

SYNOPSIS
spkg [-i|--install] [-u|--upgrade] [-d|--remove] [-l|--list] [--root ROOT] [-n|--dry-run] [-s|--safe] [--reinstall] [--install-new] [--no-fast-symlinks] [--no-scripts] [--no-ldconfig] [--no-gtk-update-icon-cache] [-q|--quiet] [-v|--verbose] [packages...]

DESCRIPTION
spkg is a fast and robust tool for Slackware Linux package management.

COMMAND LINE ARGUMENTS

  Commands

-i, --install
    Install given packages.

-u, --upgrade
    Upgrade given packages.

-d, --remove
    Remove given packages. You may use shortname, full name or package file name to specify packages to be removed.

-l, --list
    List names of all installed packages. You may use -v option to show package details too. Adding package shortname on the command line will make list limited to that specific packages. You may use glob matching to specify package names. For example to list all kde packages use 'spkg -l *kde*'.

  Options

--root=ROOT
    Set alternate root directory for package operations. You can also use ROOT environment variable. (default: "/")

-v | --verbose
    Increase verbosity level. When used once, files and directories that are affected by particular operation will be shown. When used twice, everything that is done will be reported.

-q | --quiet
    Decrease verbosity level. Default is to show info messages and warnings. This option disables warnings when used once. When used twice it will completely disable output except for error messages.

-p | --purge
    When removing a package, purge configuration files from the system. Configuration files usually come with a ".new" suffix. When they are processed during installation, the ".new" suffix is removed. The processed files are not included in the package lists. By using this option, the processed configuration files are also removed from the system.

-n | --dry-run
    Don't modify filesystem or database. This may be useful when used along with -v option to check what exactly would given command do.

-s | --safe
    Play it safe. Don't replace existing files during --install or --upgrade. Don't run post-installation scripts. Don't remove changed files on --remove.

--reinstall | -reinstall
    When upgrading package and package already exists in the database, force reinstall.

--install-new
    When upgrading package that does not yet exist in the database, install it instead.

--no-fast-symlinks
    Spkg by default parses doinst.sh for symlink creation code and removes it from the script. This improves execution times of doinst.sh. Use this option to disable such optimizations.

--no-scripts
    Disable postinstallation script.

--no-ldconfig
    Don't execute ldconfig after installation and upgrade.

--no-gtk-update-icon-cache
    When a package includes a .desktop file, in other words when a package includes a menu entry, spkg by default runs gtk-update-icon-cache, so that the icon cache will be updated, ensuring that the menu icon will be displayed properly at all times. Using this option, this behaviour is disabled. Useful if you want to install a large number of packages that include menu entries; installation will be faster without updating the icon cache after installing every package. The user could run gtk-update-icon-cache manually after all packages have been installed.

  Help

--usage
    Display brief usage message.

-h, --help
    Show long help.

-V, --version
    Display spkg version.

FILES

/var/lib/pkgtools/{packages,scripts}
    Package database.

EXAMPLES

spkg -i <packages>   [--install]

spkg -dv <packages>  [--remove --verbose]

spkg -u <packages>   [--upgrade]

spkg -uvn <packages> [--upgrade --verbose --dry-run]

AUTHOR
Written by Ondrej Jirman, 2005-2006. Maintained by George Vlahavas 2012-2022.

Official website: http://spkg.megous.com

BUGS
Bug reports can be sent to <vlahavas@gmail.com>.

SEE ALSO
installpkg(8), removepkg(8), upgradepkg(8)