SLACKPKG(8)

NAME
slackpkg - Automated tool for managing Slackware Linux packages

SYNOPSIS
slackpkg [OPTIONS] {install|remove|search|upgrade|reinstall|blacklist} { PATTERN | FILE } slackpkg [OPTIONS] info PACKAGE slackpkg [OPTIONS] update [gpg] slackpkg [OPTIONS] (clean-system|upgrade-all|install-new|new-config)

DESCRIPTION
Slackpkg is a tool for those who want to easily install or upgrade packages via the network. With slackpkg, you can have a minimal installation of Slackware Linux and install/upgrade only those packages you need most. You don't need to setup NFS or make dozens of CDs for all your computers; all you need to do is to type one command and all of the latest official Slackware packages will be at your fingertips.

INSTRUCTIONS
Slackpkg has many features. It can search for specific files, remove all third-party packages in your system, install packages added to Slackware since your last update, show package descriptions, etc. Before you do anything, you will need to uncomment one mirror in /etc/slackpkg/mirrors file and run:
  # slackpkg update The "update" action will download and format the list of files and packages in Slackware. Every time this list is changed, the update need to be run. The main features of Slackpkg are the ones directly related to package management: install, upgrade, and remove packages. To do any of these tasks, the Slackpkg syntax is:
  # slackpkg [OPTIONS] <action> {PATTERN|FILE} OPTIONS can be one or more of the many configuration options listed in /etc/slackpkg/slackpkg.conf. There are equivalent command line options for most of the configuration directives found in slackpkg.conf - see the slackpkg.conf(5) man-page to see what options are available. PATTERN can be a package name or just part of package name. It can also be a software series (like kde, a, ap, ...).
FILE is a file with a list of PATTERNs inside: either one per line, or several per line with spaces as separators. Slackpkg can be used to upgrade the whole distribution.
The usual way is to do:
  # slackpkg update
  # slackpkg install-new
  # slackpkg upgrade-all
  # slackpkg clean-system Following this manual page, you can find what each of these (and other) actions does.

ACTIONS

update
    update will download the latest package lists from a Slackware mirror (or your CD). It's a good idea to run
      # slackpkg update
    before attempting to upgrade, install, or search for packages.
    If you need to update Slackware's GPG key, run
      # slackpkg update gpg
    The GPG key doesn't change. This should be a "one time" command - run it once and forget it...

search
    You can search the official Slackware packages for any file in the Slackware distribution. Do you need a strange library? Use search to find it.
      # slackpkg search packagename
    All packages matching "packagename" will be shown, thus you can see whether the packages are installed or not; if not, you can download and install them with other slackpkg actions.

install
    Installation of a package is very simple. You need only type:
      # slackpkg install package
    and the package will be downloaded and installed.
    You can't use the "install" option to install an already installed package, but you may reinstall or upgrade it.

upgrade
    upgrade installs the most recent official version of the specified package(s). upgrade will not attempt to install new packages (use the install function for that purpose; the latest official version of the package will be installed).

reinstall
    In case you mistakenly corrupt something, the reinstall option will allow you to reinstall the same version of a package that is currently installed.

remove
    With remove, you can remove certain installed packages. As an example:
      # slackpkg remove kde
    will remove all packages with "kde" in their name.

blacklist
    With this action, you can "blacklist" certain packages.
    Blacklisted packages will not be installed, upgraded, or removed by slackpkg. If you want to remove some package from the black list, please edit /etc/slackpkg/blacklist.

download
    This action tells slackpkg to download the packages, but not to install them. They will be placed in /var/cache/packages, and you can install/upgrade/reinstall them later (or burn them to CD).

info
    This action prints information about the package(s): compressed and uncompressed size, description, etcetera...

clean-system
    This action removes all of the packages that don't belong to a standard Slackware installation. With this option, you can clean up your system, removing third-party packages as well as any packages that were removed from the official Slackware package set.
    If you have some third party (or custom built) packages that you would like to keep, you can temporarily add them to the list of blacklisted packages before you run the 'clean-system' action.

upgrade-all
    This action upgrades every package installed on the system to the version in the official Slackware tree; this is the "good" way to upgrade the entire system.
    Remember to use the "install-new" action before you use "upgrade-all."

install-new
    This action installs any new packages that are added to the official Slackware package set. Run this if you are upgrading your system to another Slackware version or if you are using -current.
    If you want to install all uninstalled Slackware packages onto your system, use the following command instead of the install-new action:
     # slackpkg install slackware.

new-config
    This action searches for .new configuration files and ask the user what to do with those files.
    new-config is very useful when you perform an upgrade and leave the configuration files to be reviewed later. Instead of a manual search, diff, and replace; you can use the new-config action.

FILES

/etc/slackpkg/mirrors
    File to specify the location from which to download packages

/etc/slackpkg/slackpkg.conf
    General configuration of slackpkg

/etc/slackpkg/blacklist
    List of packages to skip

/usr/libexec/slackpkg
    Contains slackpkg core and additional functions

/var/lib/slackpkg
    Slackpkg internal use - Formatted package lists, copy of ChangeLog.txt, list of files, etcetera...

SEE ALSO
slackpkg.conf(5), installpkg(8), upgradepkg(8), explodepkg(8), makepkg(8), pkgtool(8).

AUTHORS

Piter PUNK aka Roberto F Batista
    <piterpk AT terra DOT com DOT br>

Evaldo Gardenali aka UdontKnow
    <evaldo AT fasternet DOT com DOT br>