Linux From Scratch

Linux From Scratch (LFS) is the name of a book written by Gerard Beekmans and others. In that book the reader is given instructions on how to build a Linux system from source. The book is available freely from the Linux From Scratch website and is currently in version 6.0. To keep LFS small and focused, the Beyond Linux From Scratch book was created which presents instructions on how to further develop the basic Linux system that was created in LFS. Linux From Scratch (LFS) is a way to install a working Linux system by building all components of it manually. This is, by design, much more labour-intensive than installing a pre-built distribution (see Linux distribution). The idea is that installing the individual packages one-by-one will lead to an understanding of the internals of a working Linux system. In addition, of course, compiling all of the software specifically for the system on which it will run tends to result in smaller and faster programs. Finally, it is easier to customize the installed packages when each is installed manually - "Your distro, your rules". To build LFS, the builder needs a clean partition and a working Linux system. First a toolchain must be compiled consisting of the tools used to compile LFS like gcc, glibc and Perl. Then the root directory must be changed (using chroot) to the toolchain's partition to start building the final system. One of the first packages to compile is glibc; after that, the toolchain's linker must be adjusted to link against the newly built glibc, so that all other packages that will make up the finished system can be linked against it as well. When the final version of the packages are installed, bash needs to prefer to use them instead of the temporary toolchain ones. This is achieved by switching off the hashing of bash and setting the temporary toolchain's bin directory to the end of environment variable PATH in the new environment.

See also

External links

 

<< PreviousWord BrowserNext >>
substitution rule
list of people on stamps of france
parasympathetic nervous system
sympathetic nervous system
australasian union of jewish students
carlota of mexico
enteric nervous system
valley fold
alliance for progress
dumbarton oaks conference
chapultepec
crosshead bearing
fourteen points
battle of chapultepec
lansing ishii agreement
afghanistan timeline may 2003
afghanistan timeline february 15 28, 2003
grenville davey
afghanistan timeline december 2002
afghanistan timeline april 2002
afghanistan timeline october 2001
john sanford
atlantic charter
greg palast
afghanistan timeline december 2001
central treaty organization
mulato
blueshirt
douglas gordon
cairo conference
george vertue
the best democracy money can buy
hay pauncefote treaty
hay herran treaty
hay bunau varilla treaty
baltimore crisis
alabama claims
burlingame treaty
lockstitch
delome letter
walpole society
algeciras conference
berlin blockade
list of matrices