This book covers the installation of graphics drivers, Steam, Wine, and more following a Linux From Scratch install. https://glfs-book.github.io/glfs/
  • XSLT 52.1%
  • Shell 19.4%
  • CSS 14.4%
  • Makefile 5.6%
  • Python 4.3%
  • Other 4.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-31 18:58:15 -06:00
.github GH-WF: Update GitHub method versions. 2026-03-28 14:56:23 -06:00
appendices MIT-LIC: Fix BLFS date (use year ENTITY). 2026-02-03 17:07:06 -07:00
archive libclc: Removed. 2026-08-27 10:52:51 -06:00
book Shared Dependencies -> Core Components. 2026-06-13 17:31:49 -06:00
core Shadow: Switch to YESCRIPT from SHA512, not DES. 2026-08-27 16:25:04 -06:00
download OpenRC: 0.63 -> 0.63.3. 2026-08-25 19:40:19 -06:00
images *: Multiple appearance changes. 2026-02-04 19:52:59 -07:00
introduction Changelog: Cleaned for next release. 2026-08-31 18:58:15 -06:00
kernel-config kernel-config: Update to 7.1.8. 2026-08-14 17:06:25 -06:00
qol kernel-config: Regenerate kernel config files 2026-05-16 23:34:28 -05:00
steam Steam: Use entity for install. 2026-07-27 12:53:08 -06:00
stylesheets CSS: Use checkmark for notes and tips. 2026-08-20 16:39:44 -06:00
template Provide OpenRC support in book sources. 2026-03-24 13:05:27 -06:00
wine SDL3: No longer include patch. 2026-08-15 11:36:10 -06:00
.gitattributes Add mechanism for cron job $Date$ handling 2021-04-15 17:33:01 +08:00
.gitignore Remove .bak files. 2025-07-18 13:08:11 -06:00
changelog.xml Fix symlinks. 2025-06-09 15:36:25 -06:00
CONTRIBUTING.md Shared Dependencies -> Core Components. 2026-06-13 17:31:49 -06:00
general.ent GLFS-13.1 released. 2026-08-31 18:42:13 -06:00
git-version.sh Provide OpenRC support in book sources. 2026-03-24 13:05:27 -06:00
index.xml Shared Dependencies -> Core Components. 2026-06-13 17:31:49 -06:00
INSTALL.md README: Rewrite 2025-12-26 15:19:20 -06:00
Makefile Provide OpenRC support in book sources. 2026-03-24 13:05:27 -06:00
obfuscate.sh clean up unused SVN prop entries 2021-04-20 19:12:02 +08:00
packages.ent libclc: Removed. 2026-08-27 10:52:51 -06:00
README.md *: Use pages from LFS. 2026-02-14 20:41:21 -07:00
tidy.conf Output the book in utf-8 encoding 2024-01-15 09:47:56 +01:00
xent.ent Update to multiple packages, fix libglvnd. 2026-06-13 08:30:02 -06:00

GLFS

Gaming Linux From Scratch

This book covers the installation of graphics drivers, Steam, Wine, and more following a Linux From Scratch install.

Where to Read

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

You can find more online copies at https://linuxfromscratch.org/glfs/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

By default, RENDERTMP, which defaults to a temporary directory created by mktemp -d, will be removed after every file has been converted to a new format (e.g., HTML, wget-list, dumped commands, etc.). If you need to keep that directory, pass AUTO_CLEAN=0 to the make command.

Example:

make RENDERTMP=~/tmp AUTO_CLEAN=0

Note

Other variables exist. For a more comprehensive list of them, run make help, and for a complete list, inspect the Makefile.

The default values for the variables in the Makefile may be changed by declaring them in local.mk. For instance, if local.mk contains REV=systemd and THEME=light, calling make with no arguments will build the systemd revision with the light theme. local.mk is not tracked and must be created manually.

The default target renders as chunked HTML in ~/public_html/glfs.