Slackware

On this page 7

Slackware is the oldest actively maintained Linux distribution, first released in July 1993 by Patrick Volkerding and still developed under his lead. Among Linux fundamentals, it represents the Unix-like, minimal-intervention philosophy: it ships software close to upstream sources, configures the system through plain text files and leaves most decisions to the administrator.

Slackware is often described as the distribution that teaches how Linux works underneath, because it hides very little behind graphical tools or automation. Its stable releases are infrequent, its package tools are deliberately simple, and it does not resolve package dependencies automatically, which is its most debated design choice.

Design principles of Slackware

Slackware follows the principle of simplicity and stability over convenience. Software is packaged with few or no distribution-specific patches, so the behavior of a program on Slackware usually matches its upstream documentation.

System startup uses BSD-style init scripts in the /etc/rc.d directory rather than per-service runlevel symlinks, and Slackware does not use systemd. A service is enabled by making its script executable, for example chmod +x /etc/rc.d/rc.sshd. Configuration lives in readable shell scripts and text files that an administrator can inspect line by line.

The table below summarizes the main design traits and what they mean in daily administration.

TraitImplementationPractical consequence
Init systemBSD-style scripts in /etc/rc.dStartup order is visible in plain shell code
Package formatCompressed tarballs with install scriptsPackages can be inspected with standard tools
Dependency handlingNone in the official toolsAdministrator must install requirements
Upstream fidelityMinimal patching of sourcesUpstream manuals apply directly
Release modelPoint releases plus a rolling current branchLong gaps between stable versions
Core design traits of Slackware

Package management with pkgtools and slackpkg

Slackware packages are compressed tar archives, typically with the .txz extension, containing files laid out from the root directory plus an optional install/doinst.sh script. The package database is a set of plain text files under /var/lib/pkgtools, one per installed package, listing every file it owns.

The official pkgtools suite installs, removes and upgrades packages but never fetches missing libraries. The separate slackpkg tool downloads official updates from a mirror, and community projects add extra repositories and build scripts. The following table lists the most important tools.

ToolPurposeResolves dependencies
installpkgInstalls a local package fileNo
removepkgRemoves a package and its filesNo
upgradepkgReplaces an installed package with a newer oneNo
slackpkgFetches official updates and patches from mirrorsNo
SlackBuilds.org scriptsBuild third-party software from sourceLists requirements only
sbopkg and slpkgCommunity front ends for build scriptsPartially, by reading metadata
Main Slackware package tools

Because dependencies are not tracked, the recommended approach is a full installation of all package sets, which needs well over 10 GB of disk space but guarantees that official packages find their libraries. Minimal installations are possible but require the administrator to work out library requirements manually, for example with ldd.

Slackware compared with other distributions

Slackware sits at the conservative, hands-on end of the Linux distribution spectrum. Distributions such as Debian and Fedora favor dependency-aware package managers and integrated tooling, while Arch Linux and Gentoo share part of the Slackware ethos but differ sharply in release model and automation.

DistributionInit systemDependency resolutionRelease model
SlackwareBSD-style scriptsNoInfrequent stable plus current branch
DebiansystemdYes, with APTStable releases about every two years
Arch LinuxsystemdYes, with pacmanRolling release
GentooOpenRC or systemdYes, with PortageRolling, built from source
FedorasystemdYes, with DNFRoughly every six months
Slackware and comparable distributions

Several historical distributions, including early SUSE releases, were derived from Slackware, and projects such as Salix and Slackel still build on it today. Its influence on how administrators think about Linux is larger than its current market share suggests.

Releases, branches and the current tree

Slackware publishes numbered stable releases and maintains a development tree called Slackware-current. Stable releases receive security patches for many years, while the current branch receives new kernels, libraries and desktop environments continuously and effectively behaves like a rolling release.

Slackware 15.0, released in February 2022 after a gap of about six years, introduced PAM authentication, elogind for session management and a 5.15 long-term kernel. The long interval illustrates the project’s stance: a release ships when it is considered ready, not on a calendar.

  • Stable release suits servers and systems that must change rarely.
  • Slackware-current suits users who want newer software and accept occasional breakage.
  • Security advisories are published for stable versions and applied with slackpkg or upgradepkg.

Strengths, limitations and typical mistakes

The main strength of Slackware is predictability and transparency: nothing changes unless the administrator changes it, and every mechanism can be read as a script. The main limitation is the manual workload, especially for third-party software and dependency tracking.

Commercial software vendors rarely certify Slackware, and its small team means that hardware enablement and new desktop features can lag behind faster-moving distributions on stable releases. The table below lists mistakes that new administrators commonly make.

MistakeSymptomCorrect approach
Minimal install without planningPrograms fail with missing librariesInstall full sets or check with ldd
Forgetting to update the bootloaderSystem boots the old kernel or failsRerun LILO or regenerate the GRUB menu
Mixing stable and current packagesLibrary version conflictsStay on one branch consistently
Ignoring new configuration filesServices use outdated settingsReview .new files after upgrades
Skipping SlackBuild requirementsBuild scripts fail to compileRead the REQUIRES field first
Common Slackware administration mistakes

Explained without jargon

Slackware is a version of Linux that keeps things plain and hands-on. Think of it as a car with a manual gearbox and an open hood: it does not do much for you automatically, but you can see every part and understand why it works.

When you add a program, Slackware will not automatically fetch the other pieces that program needs, so you have to know what to add. In return, the system changes only when you decide it should, which many experienced users value highly.

A typical use case

A small research institute runs a file and backup server that has to stay unchanged for years. The administrator installs Slackware 15.0 with all package sets, enables only rc.sshd, rc.nfsd and rc.firewall by making those scripts executable, and keeps every configuration file in a version-controlled directory.

Security updates are applied monthly with slackpkg upgrade-all, followed by a review of any new configuration files. One additional tool, a backup utility, is built from a SlackBuilds.org script after its two listed requirements are built first. Over four years the server needs no reinstallation and no unplanned configuration changes, and new staff can understand the entire boot process by reading a handful of shell scripts.