source: chapter06/introduction.xml@ dc6acb5

Last change on this file since dc6acb5 was dc6acb5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

In DocBook-NG the replacement for <ulink> is a new definition of <link>.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4544 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xlink="http://www.w3.org/1999/xlink"
8 xml:id="ch-system-introduction">
9<title>Introduction</title>
10<?dbhtml filename="introduction.html"?>
11
12<para>In this chapter we enter the building site, and start
13constructing our LFS system in earnest. That is, we chroot into
14our temporary mini Linux system, create some auxiliary things,
15and then start installing all the packages, one by one.</para>
16
17<para>The installation of all this software is pretty straightforward,
18and you will probably think it would be much shorter to give here
19the generic installation instructions and explain in full only the
20installation of those packages that require an alternate method.
21Although we agree with that, we nevertheless choose to give the
22full instructions for each and every package, simply to minimize
23the possibilities for mistakes.</para>
24
25<para>The key to learning what makes a Linux system work is to know
26what each package is used for and why the user (or the system) needs it.
27For this purpose for every installed package a summary of its content is
28given followed by concise descriptions of each program and library it
29installed.</para>
30
31<para>If you plan to use compiler optimizations in this chapter, take a look at
32the optimization hint at <link xlink:href="&hints-root;optimization.txt"/>.
33Compiler optimizations can make a program run slightly faster, but they may also
34cause compilation difficulties and even problems when running the program. If a
35package refuses to compile when using optimization, try to compile it without
36optimization and see if the problem goes away. Even if the package does compile
37when using optimization, there is the risk it may have been compiled incorrectly
38due to complex interactions between the code and build tools. In short, the
39small potential gains achieved in using compiler optimization are generally
40outweighed by the risk. First time builders of LFS are encouraged to build
41without custom optimizations. Your system will still be very fast and very
42stable at the same time.</para>
43
44<para>The order in which packages are installed in this chapter has
45to be strictly followed, to ensure that no program gets a path referring
46to <filename class="directory">/tools</filename> hard-wired into it.
47For the same reason, <emphasis>do not </emphasis> compile packages
48in parallel. Compiling in parallel may save you some time (especially on
49dual-CPU machines), but it could result in a program containing a
50hard-wired path to <filename class="directory">/tools</filename>,
51which will cause the program to stop working when that directory
52is removed.</para>
53
54<para>Before the installation instructions each installation page gives some
55information about the package: a concise description of what it contains,
56approximately how long it will take to build it, how much disk space it needs
57during this building process, and which other packages it
58needs in order to be built successfully. After the installation instructions
59follows a list of programs and libraries that the package installs, together
60with a series of short descriptions of these.</para>
61
62<para>If you wish to keep track of which package installs what files, you may
63want to use a package manager. For a general overview of package managers have
64a look at <link xlink:href="&blfs-root;view/cvs/introduction/pkgmgt.html"/>. And
65for a package management method specifically geared towards LFS see
66<link xlink:href="&hints-root;more_control_and_pkg_man.txt"/>.</para>
67
68</section>
Note: See TracBrowser for help on using the repository browser.