[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 |
|
---|
[ae79672] | 10 | <!--
|
---|
[673b0d8] | 11 | <para>Below is a list of packages you need to download for building a basic
|
---|
| 12 | Linux system. The listed version numbers correspond to versions of the
|
---|
| 13 | software that are <emphasis>known</emphasis> to work, and this book is
|
---|
| 14 | based upon them. Unless you are an experienced LFS builder, we highly
|
---|
| 15 | recommend not to try out newer versions, as the build commands for one
|
---|
| 16 | version may not work with a newer version. Also, there is often a good
|
---|
| 17 | reason for not using the latest version due to known problems that haven't
|
---|
| 18 | been worked around yet.</para>
|
---|
| 19 |
|
---|
| 20 | <para>All the URLs, when possible, refer to the project's page at
|
---|
| 21 | <ulink url="http://www.freshmeat.net/"/>. The Freshmeat
|
---|
| 22 | pages will give you easy access to the official download sites as well as
|
---|
| 23 | project websites, mailing lists, FAQs, changelogs and more.</para>
|
---|
| 24 |
|
---|
| 25 | <para>We can't guarantee that these download locations are always available.
|
---|
| 26 | In case a download location has changed since this book was published, please
|
---|
[fe8b2f3] | 27 | try to google for the package. Should you remain unsuccessful with this,
|
---|
| 28 | try one of the alternative means of downloading listed on
|
---|
[673b0d8] | 29 | <ulink url="&lfs-root;lfs/packages.html"/>.</para>
|
---|
| 30 |
|
---|
| 31 | <para>You'll need to store all the downloaded packages and patches somewhere
|
---|
| 32 | that is conveniently available throughout the entire build. You'll also need a
|
---|
| 33 | working directory in which to unpack the sources and build them. A scheme that
|
---|
[55851d6] | 34 | works well is to use <filename class="directory">$LFS/sources</filename> as the place to store
|
---|
[673b0d8] | 35 | the tarballs and patches, <emphasis>and</emphasis> as a working directory.
|
---|
| 36 | This way everything you need will be located on the LFS partition and available
|
---|
| 37 | during all stages of the building process.</para>
|
---|
| 38 |
|
---|
| 39 | <para>So you may want to execute, as <emphasis>root</emphasis>, the following
|
---|
| 40 | command before starting your download session:</para>
|
---|
[ae79672] | 41 | -->
|
---|
[673b0d8] | 42 |
|
---|
| 43 | <screen><userinput>mkdir $LFS/sources</userinput></screen>
|
---|
| 44 |
|
---|
[ae79672] | 45 | <!--
|
---|
| 46 | <para>And make this directory writable (and sticky) for your normal user - as
|
---|
[673b0d8] | 47 | you won't do the downloading as <emphasis>root</emphasis>, we guess:</para>
|
---|
[ae79672] | 48 | -->
|
---|
[673b0d8] | 49 |
|
---|
| 50 | <screen><userinput>chmod a+wt $LFS/sources</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | <!--
|
---|
| 53 | <para>For your convenience the top of the list contains a link to a file
|
---|
| 54 | you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink>
|
---|
| 55 | program. Using this file and the <command>wget</command> program will
|
---|
| 56 | make it easy to download all the files at once, rather than downloading each
|
---|
| 57 | and every individual file manually.</para>
|
---|
| 58 | -->
|
---|
| 59 |
|
---|
| 60 | </sect1>
|
---|