Some examples of tools which come with Slackware.
pkgtoolinstallpkgremovepkg
—
-
See also Slackware package managers for other package managers, often with dependency resolution.
NOTE – You must be root to use Slackware package management. If you aren’t root, you can get to it with \su -l
pkgtool ∞
pkgtool is a front-end for various common tasks.
- Installing packages
- Removing packages from a list
- Viewing the contents of a package
-
Setup — Allows one to re-run the various things which were presented when initially installing Slackware.
Lists of official packages ∞
Listing packages you have installed ∞
\ls /var/log/packages/ | \grep PACKAGENAME
Alternately, pkgtool‘s “remove package” lists them
Listing official packages ∞
\slackpkg search PACKAGENAME
The official file list:
ftp://ftp.slackware.com/pub/slackware/slackware-14.1/FILELIST.TXT
ftp://ftp.slackware.com/pub/slackware/slackware-14.1/PACKAGES.TXT
The list of “groups” which were displayed by the installer:
ftp://ftp.slackware.com/pub/slackware/slackware-14.1/slackware/
Installing packages ∞
Installing remote packages ∞
1. Make sure your mirrors are set properly.
edit /etc/slackpkg/mirrors
2. Update slackpkg
\slackpkg update
3. Install your software
\slackpkg install PACKAGENAME
notes:
- You can also specify a group name.
-
You can also
\slackpkg reinstall PACKAGENAME
Installing local packages ∞
Installing things you’ve downloaded from third-party providers, or have otherwise cached locally.
\installpkg /path/to/package.ext
Removing packages ∞
(For example, once Openbox is working, you can remove some window managers)
\slackpkg remove blackbox \slackpkg remove fvwm \slackpkg remove windowmaker \slackpkg remove fluxbox
I keep twm just in case, and I can see what I have installed with xwmconfig
You can also remove using wildcards, like \slackpkg remove kde*
You can also remove groups (aka “whoops, I accidentally installed KDE”)
\slackpkg remove kde \slackpkg remove kdei \slackpkg remove xfce \slackpkg remove y
TODO – Remaining questions ∞
-
How do I know the list of what “groups” there are, and what they’re called?
- The installer gave this.
-
How do I know what “groups” I have installed?
