Host System Requirements

From LFScript

In order to use LFScript, your host operating system must meet certain requirements. This page describes the commands used to make your operating system compatible with LFS/LFScript.

fsOS (Live CD)

Tested version: 4r16

The fsOS Live CD already meets all host system requirements.


Tested version: 6.0.4 ("Squeeze")

A clean installation of Debian (with GUI and basic utilities) lacks bison, gawk and the required symlink to /bin/bash:

ln -svf bash /bin/sh
apt-get install bison gawk


Tested version: 13.37

A full install of Slackware meets all host system requirements.


10.04.4 Live CD

Ubuntu 10.04.4 was the last version of Ubuntu to support i486 processors. Therefore it is an excellent host system to build LFS for older systems. This version of Ubuntu is used to bootstrap the i486 LFScript Live CD.

Update repository information:

apt-get update

Satisfy LFS requirements:

ln -svf /bin/bash /bin/sh
apt-get install bison build-essential

Note that current LFS host requirements specify slightly newer versions of Gawk and XZ than are used in Ubuntu 10.04.4, but this does not seem to cause any problems.

If you want to use ScriptFactory, you will need Subversion and Patch:

apt-get install subversion patch

If you are rebuilding LFClass, you will need Zlib and the Java SDK, in addition to essential building tools:

apt-get install build-essential libz-dev openjdk-6-jdk


A clean installation of Ubuntu lacks bison, gawk, patch, texinfo and the required symlink to /bin/bash:

ln -svf bash /bin/sh
apt-get install bison gawk patch texinfo

Other GNU/Linux

The basic requirements are the same as those for Linux From Scratch. To determine if your OS meets these requirements you should run the script presented in LFS.

In addition to the basic requirements, your host system needs to have wget installed if you want LFScript to download source code automatically. Having wget installed is highly recommended, because there could be several hundred files which must be downloaded.