Linux From Scratch

from Wikipedia, the free encyclopedia
Linux From Scratch
Project to build a Linux distribution
developer Linux From Scratch Team
License (s) CC , MIT ( Free Software )
First publ. December 16, 1999
Current  version 9.1 (March 1, 2020)
ancestry GNU / Linux
↳ Linux From Scratch
Architecture (s) IA-32 and others
Languages) English and (partly outdated) other languages, including German
Others Monolithic kernel

Linux From Scratch ( LFS , “Linux from scratch”) is a project thatoffersstep-by-step instructions for creating a Linux operating system that is tailoredto personal needsfrom the source code .


The first version of Linux From Scratch was released on December 16, 1999.

The current version 9.1 was released on March 1st, 2020. There is also a German version, which is currently at version 6.4 and was published on November 23, 2008.


The Linux From Scratch ( LFS ) instructions explain the installation of a simple basic system that can be used just like that - but it can also be viewed as a small distribution kit. The installation of a pre-compiled Linux from a Linux distribution is faster because no or only a few installation packages have to be compiled . Additional components such as the installation of various servers or desktop environments (such as KDE or Gnome ) are described in the documentation Beyond LFS ( BLFS for short ).

There is also the Automated LFS ( ALFS for short ) project, which attempts to automate and simplify the installation of an LFS, which is lengthy and complicated. It is aimed at users who have gone through the LFS and BLFS installation process a few times and want automation. Hardened LFS ( HLFS for short ), on the other hand, deals with securing the LFS basic system and is currently under development.

The original LFS project deals with the installation on an IA-32 system. For other architectures, the Cross Linux From Scratch ( CLFS for short ) project was launched, which specifically deals with the problems of cross-compiling, including the compilation of headless and embedded systems. CLFS supports a wide variety of processors and uses advanced techniques not covered in the original LFS book. This includes cross-build toolchains and multilibrary support. In version 7.0, 64-bit support is also to be built into the basic documentation.

Another sub-project, Hints , collects short recipes for everything to do with LFS.

Live CD

A live CD served as the basic system from which an LFS system could be built.

Since Linux is necessary to build an LFS system and the CD has also been extensively tested for compatibility with LFS, it was recommended to start with the CD.

It contained all of the tools necessary to translate the sources . The Linux From Scratch book and the source code were also included on the CD. No internet connection was required when building the system.

On November 30, 2007, the last Live CD version of the 6.3 series (with revision number 2160) was released. On March 30, 2008, the LiveCD project was discontinued due to a lack of participation. It can no longer be used since the programs are too old to compile some source texts.

Other kits

In addition to Linux From Scratch , the following distribution kits are also known:

List of components of LFS

The following program sources are included in LFS version 8.4:

Web links

Individual evidence

  1. Thank You - The LFS Credits - official website; As of November 29, 2013
  2. Legal Notice
  3. a b Linux from Scratch (stable) - online version LFS
  4. Linux From Scratch HOWTO ( Memento of April 30, 2001 in the Internet Archive ) (English)
  5. Linux From Scratch - Lecture page at the Chaos Computer Club Ulm , August 17, 2008
  6. German translation of Linux From Scratch - project page at
  7. Milestone 7.0 (English) - Wiki page at ; As of February 1, 2008
  8. Download the Official LFS LiveCD (English) - official site at ; As of March 10, 2011
  9. The LFS LiveCD project is dead. Officially. Archived from the original on January 11, 2010 ; accessed on May 7, 2017 . (English) - Letter from , March 30, 2008
  10. Program packages