diff options
Diffstat (limited to 'chapter02/install.xml')
-rw-r--r-- | chapter02/install.xml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/chapter02/install.xml b/chapter02/install.xml index ca6374a92..aa2856abf 100644 --- a/chapter02/install.xml +++ b/chapter02/install.xml @@ -8,8 +8,8 @@ simple life, use bash.</para> <para>Before you can actually start doing something with a package, you need to unpack it first. Often the package files are tar'ed and -gzip'ed or bzip2'ed. I'm not going to write down every time how to -unpack an archive. I will explain how to do that once, in this +gzip'ed or bzip2'ed. We're not going to write down every time how to +unpack an archive. We'll explain how to do that once, in this section.</para> <para>To start with, change to the $LFS/usr/src directory by running:</para> @@ -58,15 +58,16 @@ can be used they need to be uncompressed first.</para> <para><screen><userinput>bunzip2 filename.bz2</userinput></screen></para> -<para>After a package has been installed, two things can be done with it: -either the directory that contains the sources can be deleted, -or it can be kept. If it is kept, that's fine with me, but if the -same package is needed again in a later chapter, the directory -needs to be deleted first before using it again. If this is not done, -you might end up in trouble because old settings will be used (settings -that apply to the host system but which don't always apply to -the LFS system). Doing a simple make clean or make distclean does not -always guarantee a totally clean source tree.</para> +<para>After a package has been installed, two things can be done with +it: either the directory that contains the sources can be deleted, or it +can be kept. We highly recommend deleting it. If you don't do this and +try to re-use the same source later on in the book (for example re-using +the source trees from chapter 5 for use in chapter 6), it may not work +as you expect it to. Source trees from chapter 5 will have your host +distribution's settings, which don't always apply to the LFS system +after you enter the chroot'ed environment. Even running something like +<emphasis>make clean</emphasis> doesn't always guarantee a clean source +tree.</para> <para>So, save yourself a lot of hassle and just remove the source directory immediately after you have installed it.</para> |