Updated: Mar 2007
Index Return to Main Contents
NAMEslackpkg.conf - Configuration data for slackpkg
The slackpkg.conf file contains information for slackpkg (8), an automated tool for managing Slackware Linux packages.
The slackpkg.conf file is a sequence of shell script variables, and each variable controls one aspect of slackpkg. Comments begin with the # character and end at end of the line, and comments may appear anywhere inside the slackpkg.conf file. If some variable appears more than once in the file, slackpkg will use the value that was defined last.
For configuration options that have only two states, possible values are either "on" or "off"
The different configuration options are:
Chooses the system architecture. Slackware is only official in the x86 and s390 architectures, and slackpkg is tested only in x86 arch; however, you can use it in other Slackware ports like Slackintosh or ArmedSlack.
The default value of ARCH is i86 (x86).
Defines the location to which slackpkg will download the packages before installing/upgrading them.
The default value of TEMP is /var/cache/packages.
Defines the directory for package lists, file lists, and other information used by slackpkg as it works. Do not change the value of this variable unless you know what you are doing.
The default value of WORKDIR is /var/lib/slackpkg
Selects special options for wget. If you need to use multiple options, remember to put them between double-quotes.
The default value of WGETFLAGS is "--passive-ftp"
If set to "on", all downloaded files will be removed after slackpkg perform install or upgrade (you don't need to worry if you use "download" in slackpkg command). If set to "off", the files will be kept in the directory defined in TEMP (as described above).
The default value of DELALL is "on".
Enables (on) or disables (off) the checking of MD5 checksums of all downloaded packages before installing or upgrading them.
The default value of CHECKPKG is "on"
Enables (on) or disables (off) the check of GPG signature for each package before install or upgrade.
The default value of CHECKGPG is "on"
- FIRST, SECOND, THIRD, FOURTH and FIFTH
These lines select the priority at which directories on the mirror will have when slackpkg looks for packages. If a package is found in more than one place, the package in FIRST gets first priority, then SECOND, then THIRD, then FOURTH, and finally, the package found in FIFTH.
Default values: /patches /slackware /extra /pasture /testing
Select which place defined in FIRST, SECOND, THIRD, FOURTH or FIFTH , is the main distribution. On an official Slackware system, this will be "slackware" (which is the default). This should always be the directory which contains the Slackware package set series (A, AP, D, E, F, ...) This may have a different name in the unofficial Slackware ports, so adjust it as needed.
Enables (on) or disables (off) slackpkg's post-installation features, such as checking for new (*.new) configuration files and new kernel images, and prompts you for what it should do.
The default value of POSTINST is "on"
The ONOFF variable sets the initial behavior of the dialog interface.
If you set this to "on" then all packages will be selected by default.
If you prefer the opposite option (all unchecked), then set this to "off".
The default value of ONOFF is "on"
If this variable is set to "on", all files will be downloaded before the
requested operation (install or upgrade) is performed. If set to "off",
then the files will be downloaded and the operation (install/upgrade) performed
one by one.
The default value of DOWNLOAD_ALL is "off"
Enable (on) or disable (off) the dialog interface.
The default value of DIALOG is "on".
SEE ALSOslackpkg(8) pkgtool(8) installpkg(8) upgradepkg(8) removepkg(8)