Posted by: isaraffee | August 10, 2009

Other Slackware Package Commands

Other Slackware Package Commands

For the sake of completeness this section documents basic Slackware Package commands which are also available to the VL user. Remember that slapt-get (and gslapt) are built upon Slackware package commands. The Slackware commands, unlike slapt-get and gslapt do not retrieve packages from mirror sites: they assume you have already downloaded the appropriate package. The commands available are: installpkg, removepkg, upgradepkg, explodepkg, makepkg and pkgtool. You will find a “man page” for each of these commands, e.g. man installpkg for a full explanation of how to use each of these commands. Some examples of Slackware package commands useage:

* to install a “leafpad” package which you downloaded from, first “cd” into the directory where the package is located and then: installpkg leafpad-0.8.4-i486-1arf.tgz.

* to remove an “abiword” package from your system: removepkg abiword.

* to extract the contents of a Slackware package into the current directory: explodepkg leafpad-0.8.4-i486-1arf.tgz.

* to install, remove or view packages from a handy menu system: pkgtool .

One of the most convenient features of “mc”, the Midnight Commander menu-based file manager, is that VL has added some Slackware package commands to the “F2” menu. One may easily pack, install and remove Slackware/Vector .tgz packages using mc in this manner. In the mc F2 menu you also can convert an RPM package to a Slackware package. This facility is also available from the command line using the command: rpm2tgz.

Furthermore, VL provides the convenient command: pkgtool . “pkgtool” is the Slackware package utility – a command line wrapper around the Slackware package commands mentioned in the paragraphs above, with a few enhancements. By typing: pkgtool as root, you will see the options available to you.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: