[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
| 6 | <sect1 id="materials-introduction">
|
---|
| 7 | <title>Introduction</title>
|
---|
| 8 | <?dbhtml filename="introduction.html"?>
|
---|
| 9 |
|
---|
[843710f] | 10 | <para>Below is a list of packages that need to be download for building a
|
---|
| 11 | basic Linux system. The listed version numbers correspond to versions
|
---|
| 12 | of the software that are known to work, and this book is based on
|
---|
| 13 | their use. We highly recommend not using newer versions, as the build
|
---|
| 14 | commands for one version may not work with a newer version. The newest
|
---|
| 15 | package versions may also have problems that work-arounds have
|
---|
| 16 | not been developed for yet.</para>
|
---|
| 17 |
|
---|
| 18 | <para>All the URLs, when possible, refer to the package's information
|
---|
| 19 | page at <ulink url="http://www.freshmeat.net/"/>. The Freshmeat pages
|
---|
| 20 | provide easy access to official download sites, as well as project
|
---|
| 21 | websites, mailing lists, FAQs, changelogs, and more.</para>
|
---|
| 22 |
|
---|
| 23 | <para>Download locations may not always be accessible. If a download
|
---|
| 24 | location has changed since this book was published, Google (<ulink
|
---|
| 25 | url="http://www.google.com"/>) provides a useful search engine for
|
---|
| 26 | most packages. If this search is unsuccessful, try one of the
|
---|
| 27 | alternative means of downloading discussed at <ulink
|
---|
| 28 | url="&lfs-root;lfs/packages.html"/>.</para>
|
---|
| 29 |
|
---|
| 30 | <para>Downloaded packages and patches will need to be stores somewhere
|
---|
| 31 | that is conveniently available throughout the entire build. A working
|
---|
| 32 | directory is also required to unpack the sources and build them.
|
---|
| 33 | <filename class="directory">$LFS/sources</filename> can be used both
|
---|
| 34 | as the place to store the tarballs and patches and as a working
|
---|
| 35 | directory. By using this directory, the required elements will be
|
---|
| 36 | located on the LFS partition and will be available during all stages
|
---|
| 37 | of the building process.</para>
|
---|
| 38 |
|
---|
| 39 | <para>To create this directory, execute, as user
|
---|
| 40 | <emphasis>root</emphasis>, the following command before starting the
|
---|
| 41 | download session:</para>
|
---|
[673b0d8] | 42 |
|
---|
| 43 | <screen><userinput>mkdir $LFS/sources</userinput></screen>
|
---|
| 44 |
|
---|
[843710f] | 45 | <para>Make this directory writable (and sticky -- which basically
|
---|
| 46 | means that eventhough a user may have write permissions on a
|
---|
| 47 | directory, the sticky tag prevents users from removing files they do
|
---|
| 48 | not own as normally write permission on a directory means the owner of
|
---|
| 49 | the directory can remove all files in it, even if he does not own the
|
---|
| 50 | file) for your normal user -- as you won't do the downloading as root, we
|
---|
| 51 | guess:</para>
|
---|
[673b0d8] | 52 |
|
---|
| 53 | <screen><userinput>chmod a+wt $LFS/sources</userinput></screen>
|
---|
| 54 |
|
---|
| 55 | </sect1>
|
---|
[843710f] | 56 |
|
---|