mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Update
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@476 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
dcc45c5eb6
commit
b8cf8df054
@ -70,6 +70,12 @@ Westermann</ulink> for running the lfs.linux-provider.net HTTP and FTP
|
|||||||
mirror sites.
|
mirror sites.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>
|
||||||
|
Dag Stenstad for providing the hardware and bandwidth to run the
|
||||||
|
Norwegian mirror and <ulink url="mailto:ian@ichilton.co.uk">
|
||||||
|
Ian Chilton</ulink> for maintaining the mirror.
|
||||||
|
</para></listitem>
|
||||||
|
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Countless other people from the various LFS mailing lists who are making
|
Countless other people from the various LFS mailing lists who are making
|
||||||
this book happen by making suggestions, testing, and submitting bug
|
this book happen by making suggestions, testing, and submitting bug
|
||||||
|
@ -9,8 +9,8 @@ packages that were downloaded are placed somewhere in $LFS/usr/src.
|
|||||||
<para>
|
<para>
|
||||||
I use the convention of having a $LFS/usr/src/sources directory.
|
I use the convention of having a $LFS/usr/src/sources directory.
|
||||||
Under sources, I have the directory 0-9 and the directories a
|
Under sources, I have the directory 0-9 and the directories a
|
||||||
through z. A package as sysvinit-2.78.tar.gz is stored under
|
through z. A package like sysvinit-2.78.tar.gz is stored under
|
||||||
$LFS/usr/src/sources/s/. A package as bash-2.04.tar.gz is stored under
|
$LFS/usr/src/sources/s/. A package like bash-2.04.tar.gz is stored under
|
||||||
$LFS/usr/src/sources/b/, and so forth. This convention does not have to be
|
$LFS/usr/src/sources/b/, and so forth. This convention does not have to be
|
||||||
followed, of course; I was just giving an example. It's better to keep
|
followed, of course; I was just giving an example. It's better to keep
|
||||||
the packages out of $LFS/usr/src and move them to a subdirectory, so
|
the packages out of $LFS/usr/src and move them to a subdirectory, so
|
||||||
@ -22,9 +22,9 @@ packages and work with them.
|
|||||||
The next chapter contains the list of all the packages that need to be
|
The next chapter contains the list of all the packages that need to be
|
||||||
downloaded,
|
downloaded,
|
||||||
but the partition that is going to contain our LFS system isn't created yet.
|
but the partition that is going to contain our LFS system isn't created yet.
|
||||||
Therefore, the files are temporarily stored somewhere else and later
|
Therefore, the files are temporarily stored somewhere else (it's up to
|
||||||
copied to $LFS/usr/src/ when the chapter in which
|
you to decide where this 'else' is) and later moved to $LFS/usr/src/ when
|
||||||
the new partition is prepared has been finished.
|
the chapter in which the new partition is prepared has been finished.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -4,17 +4,9 @@
|
|||||||
<para>
|
<para>
|
||||||
Before you can actually start doing something with a package, you need
|
Before you can actually start doing something with a package, you need
|
||||||
to unpack it first. Often the package files are tar'ed and
|
to unpack it first. Often the package files are tar'ed and
|
||||||
gzip'ed. (That can be determined by looking at the extension of the file.
|
gzip'ed or bzip2'ed. I'm not going to write down every time how to
|
||||||
Tar'ed and gzip'ed archives have a .tar.gz or .tgz extension, for
|
unpack an archive. I will explain how to do that once, in this
|
||||||
example.) I'm not going to write down every time how to ungzip and how
|
section.
|
||||||
to untar an archive. I will explain how to do that once, in this section.
|
|
||||||
There is also the possibility that a .tar.bz2 file could be downloaded.
|
|
||||||
Such a file would be tar'ed and compressed with the bzip2 program.
|
|
||||||
Bzip2 achieves a better compression than the more commonly used gzip does.
|
|
||||||
In order to use bz2 archives, the bzip2 program needs to be installed.
|
|
||||||
Most if not every distribution comes with this program, so chances are
|
|
||||||
high it is already installed on the host system. If not, it's installed
|
|
||||||
using the distribution's installation tool.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -71,7 +63,7 @@ If a file is just tar'ed, it is unpacked by running:
|
|||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
When the archive is unpacked, a new directory will be created under the
|
When ab archive is unpacked, a new directory will be created under the
|
||||||
current directory (and this book assumes that the archives are unpacked
|
current directory (and this book assumes that the archives are unpacked
|
||||||
under the $LFS/usr/src directory). Please enter that new directory
|
under the $LFS/usr/src directory). Please enter that new directory
|
||||||
before continuing with the installation instructions. Again, every time
|
before continuing with the installation instructions. Again, every time
|
||||||
@ -106,7 +98,7 @@ If a file is bzip2'ed, it is unpacked by running:
|
|||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
After a package is installed, two things can be done with it:
|
After a package has been installed, two things can be done with it:
|
||||||
either the directory that contains the sources can be deleted,
|
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
|
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
|
same package is needed again in a later chapter, the directory
|
||||||
@ -117,10 +109,15 @@ the LFS system). Doing a simple make clean or make distclean does not
|
|||||||
always guarantee a totally clean source tree.
|
always guarantee a totally clean source tree.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
So, save yourself a lot of hassle and just remove the source directory
|
||||||
|
immediately after you have installed it.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
There is one exception to that rule: don't remove the Linux kernel source
|
There is one exception to that rule: don't remove the Linux kernel source
|
||||||
tree. A lot of programs need the kernel headers, so that's the only
|
tree. A lot of programs need the kernel headers, so that's the only
|
||||||
directory that should not be removed, unless no software is to be compiled
|
directory that should not be removed, unless no package is to be compiled
|
||||||
anymore.
|
anymore.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user