Host System Requirements: Difference between revisions

From LFScript
No edit summary
→‎10.04.4 Live CD: Add requirements for using ScriptFactory
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:


== Ubuntu ==
== Ubuntu ==
Tested version: '''12.04'''
 
=== 10.04.4 Live CD ===
 
Ubuntu 10.04.4 was the last version of Ubuntu to support <code>i486</code> processors. Therefore it is an excellent host system to build LFS for older systems. This version of Ubuntu is used to bootstrap the <code>i486</code> LFScript Live CD.
 
Update repository information:
 
<pre>apt-get update</pre>
 
Satisfy LFS requirements:
 
<pre>ln -svf /bin/bash /bin/sh
apt-get install bison build-essential</pre>
 
Note that current LFS host requirements specify slightly newer versions of <code>Gawk</code> and <code>XZ</code> 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 <code>Subversion</code> and <code>Patch</code>:
 
<pre>apt-get install subversion patch</pre>
 
If you are rebuilding LFClass, you will need <code>Zlib</code> and the <code>Java SDK</code>, in addition to essential building tools:
 
<pre>apt-get install build-essential libz-dev openjdk-6-jdk</pre>
 
=== 12.04 ===


A clean installation of Ubuntu lacks <code>bison</code>, <code>gawk</code>, <code>patch</code>, <code>texinfo</code> and the required symlink to <code>/bin/bash</code>:
A clean installation of Ubuntu lacks <code>bison</code>, <code>gawk</code>, <code>patch</code>, <code>texinfo</code> and the required symlink to <code>/bin/bash</code>:
Line 27: Line 51:
apt-get install bison gawk patch texinfo
apt-get install bison gawk patch texinfo
</pre>
</pre>
== Fedora ==
<<TODO>>


== Other GNU/Linux ==
== Other GNU/Linux ==

Latest revision as of 15:34, 6 July 2014

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 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

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

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.