This book supplements an LFS, MLFS, BLFS, and/or GLFS x86-64 system by providing packages not found in the other LFS books. https://glfs-book.github.io/slfs/
  • XSLT 66.6%
  • CSS 18.7%
  • Makefile 6.6%
  • Python 5.9%
  • Shell 2.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-02 13:47:20 -06:00
.github Update issue templates 2026-05-05 16:12:37 -05:00
appendices LFS-QOL -> SLFS. 2025-06-09 15:29:49 -06:00
archive Moved several packages to BLFS+GLFS. 2026-06-26 11:24:59 -06:00
book Update dedication to be different from BLFS. 2026-06-13 16:50:03 -06:00
download Waypipe: 0.11.0 -> 0.11.1. 2026-08-21 20:48:23 -06:00
emu PCSX2: Some fixes. 2026-08-22 11:31:01 -06:00
gaming *: replace -W no-dev with -W no-author 2026-08-01 23:30:19 -05:00
general Go: Move comments to be at top. 2026-09-02 13:47:20 -06:00
graph OBS-Studio: Don't disable rpath. 2026-08-26 17:13:45 -06:00
images *: Multiple appearance changes. 2026-02-04 20:09:32 -07:00
introduction OpenJDK: 17.0.18-ga -> 17.0.20.1-ga (security). Fixes #682. 2026-09-02 01:16:42 -06:00
kernel-config kernel-config: Update to 7.1.8. 2026-08-14 19:57:33 -06:00
servers NGINX: Adjust introduction. 2026-04-09 21:01:59 -06:00
stylesheets CSS: Use checkmark for notes and tips. 2026-08-20 16:41:33 -06:00
svr4 s-nail: Fix compiling against OpenSSL-4. 2026-05-15 14:26:46 -05:00
template *: Get rid of unnecessary mentions of HTTP. 2026-01-25 20:28:13 -07:00
wm CDE & mGBA: A couple changes. 2026-08-22 10:14:23 -06:00
.gitattributes *: Added docbook starter. 2024-12-25 01:11:13 -07:00
.gitignore gitignore: ignore contributor tools object folder 2025-03-12 17:52:48 +03:00
changelog.xml Fix symlinks. 2025-06-09 18:30:45 -06:00
CONTRIBUTING.md CONTRIBUTING: Rework 2025-12-18 16:13:36 -06:00
expand_date *: Added docbook starter. 2024-12-25 01:11:13 -07:00
general.ent SLFS-13.1 released. 2026-08-31 18:47:12 -06:00
git-version.sh Inform the reader that the GitHub Pages version is a backup. 2026-02-19 17:38:44 -07:00
index.xml NGINX: Added. Fixes #441. 2026-03-21 22:32:58 -06:00
INSTALL.md Resolve requested changes 2025-12-25 18:09:57 -06:00
Makefile Inform the reader that the GitHub Pages version is a backup. 2026-02-19 17:38:44 -07:00
obfuscate.sh *: Added docbook starter. 2024-12-25 01:11:13 -07:00
packages.ent OpenJDK: 17.0.18-ga -> 17.0.20.1-ga (security). Fixes #682. 2026-09-02 01:16:42 -06:00
README.md *: Use pages from LFS. 2026-02-14 20:38:24 -07:00
STYLE-GUIDE.md STYLE-GUIDE: Add section for source code 2025-12-18 16:13:13 -06:00
tidy.conf *: Added docbook starter. 2024-12-25 01:11:13 -07:00
xent.ent *: internet -> Internet/network. Fixes #688. 2026-05-09 14:29:27 -06:00

SLFS

Supplemental Linux From Scratch

This book supplements an LFS, MLFS, BLFS, and/or GLFS x86-64 system by providing packages not found in the other LFS books.

SLFS boasts several libraries and utilities not covered in the other *LFS books, including SVR4-related tooling, binary-only application support, many graphical environments for both Wayland and X11, emulators, games and gaming software, system utilities, and more.

Where to read

Go to https://linuxfromscratch.org/slfs/view/dev/ or https://glfs-book.github.io/slfs/ and start going through the book!

You can find more online copies at https://linuxfromscratch.org/slfs/view/.

There are also releases available for download.

Installation

How do I convert these XML files to HTML myself? You need to have some software installed that deal with these conversions. Please read INSTALL.md to determine which programs you need to install and where to get instructions to install that software.

You can then build the HTML with a simple make command.

You can switch the theme by passing THEME=<theme> to the make command. <theme> can equal:

  • dynamic (default)
  • dark
  • light
  • any theme in THEME_PATH

Example: make THEME=dark

You can set the theme path by passing THEME_PATH=<path> to the make command. The default is stylesheets/lfs-xsl. More themes are available at https://github.com/glfs-book/lfs-themes.

Example: make THEME_PATH=../lfs-themes/themes THEME=whitepink

The default target renders the HTML in ~/public_html/slfs.

There are also more variables that can be set which can be used to specify where the rendered output goes, where temporary files are located, the stability type of the render, and more.

An important thing to be aware of is by default, what is set as RENDERTMP (mktemp -d by default) will be removed after every file has been converted to a new format (HTML, wget-list, command scripts, etc.) by default. If you need to keep the directory for whatever reason, pass AUTO_CLEAN=0 when running make.

Example: make RENDERTMP=~/tmp AUTO_CLEAN=0