Host System Requirements

From LFScript
Revision as of 00:22, 5 July 2014 by Marcel (talk | contribs) (→‎Ubuntu: Add info for Ubuntu 10.04.4)

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.

Debian

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

Slackware

Tested version: 13.37

A full install of Slackware meets all host system requirements.

Ubuntu

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 are rebuilding LFClass, you will need Zlib and the Java SDK:

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

12.04

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

Fedora

<<TODO>>

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 version-check.sh 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.