source: chapter04/chapter04.xml@ 1e163254

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 1e163254 was 238527e, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Minor adjustments, mainly of markup. And dropping file removal from the 'stripping' phase -- the files are small.

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

  • Property mode set to 100644
File size: 11.0 KB
Line 
1<chapter id="chapter04">
2<title>The materials: packages and patches</title>
3<?dbhtml filename="chapter04.html" dir="chapter04"?>
4
5
6<sect1 id="ch04-introduction">
7<title>Introduction</title>
8<?dbhtml filename="introduction.html" dir="chapter04"?>
9
10<para>Below is a list of packages you need to download for building a basic
11Linux system. The listed version numbers correspond to versions of the
12software that are <emphasis>known</emphasis> to work, and this book is
13based upon them. Unless you are an experienced LFS builder, we highly
14recommend not to try out newer versions, as the build commands for one
15version may not work with a newer version. Also, there is often a good
16reason for not using the latest version due to known problems that haven't
17been worked around yet.</para>
18
19<para>All the URLs, when possible, refer to the project's page at
20<ulink url="http://www.freshmeat.net">Freshmeat.net</ulink>. The Freshmeat
21pages will give you easy access to the official download sites as well as
22project websites, mailinglists, FAQs, Changelogs and more.</para>
23
24<para>We can't guarantee that these download locations are always available
25to you. In case a download location has changed since this book was
26published, please try to google for the package. Should you remain
27unsuccessful with this you should consult the book's errata page at
28<ulink url="http://linuxfromscratch.org/lfs/print"/> or try
29the alternative means of download listed at
30<ulink url="http://linuxfromscratch.org/lfs/packages.html"/></para>
31
32<!--
33<para>For your convenience the top of the list contains a link to a file
34you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink>
35program. Using this file and the <userinput>wget</userinput> program will
36make it easy to download all the files at once, rather than downloading each
37and every individual file manually.</para>
38-->
39
40</sect1>
41
42
43<sect1 id="ch04-packages">
44<title>All the packages</title>
45<?dbhtml filename="packages.html" dir="chapter04"?>
46
47<para>Download or otherwise obtain the following packages:</para>
48
49<literallayout>
50Autoconf (&autoconf-version;) - &autoconf-size;:
51<ulink url="http://freshmeat.net/projects/autoconf/"/>
52
53Automake (&automake-version;) - &automake-size;:
54<ulink url="http://freshmeat.net/projects/automake/"/>
55
56Bash (&bash-version;) - &bash-size;:
57<ulink url="http://freshmeat.net/projects/gnubash/"/>
58
59Binutils (&binutils-version;) - &binutils-size;:
60<ulink url="http://freshmeat.net/projects/binutils/"/>
61
62Bison (&bison-version;) - &bison-size;:
63<ulink url="http://freshmeat.net/projects/bison/"/>
64
65Bzip2 (&bzip2-version;) - &bzip2-size;:
66<ulink url="http://freshmeat.net/projects/bzip2/"/>
67
68Coreutils (&coreutils-version;) - &coreutils-size;:
69<ulink url="http://freshmeat.net/projects/coreutils/"/>
70
71DejaGNU (&dejagnu-version;) - &dejagnu-size;:
72<ulink url="http://freshmeat.net/projects/dejagnu/"/>
73
74Diffutils (&diffutils-version;) - &diffutils-size;:
75<ulink url="http://freshmeat.net/projects/diffutils/"/>
76
77E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;:
78<ulink url="http://freshmeat.net/projects/e2fsprogs/"/>
79
80Ed (&ed-version;) - &ed-size;:
81<ulink url="http://freshmeat.net/projects/ed/"/>
82
83Expect (&expect-version;) - &expect-size;:
84<ulink url="http://freshmeat.net/projects/expect/"/>
85
86File (&file-version;) - &file-size;:
87<ulink url="http://freshmeat.net/projects/file/"/>
88
89Findutils (&findutils-version;) - &findutils-size;:
90<ulink url="http://freshmeat.net/projects/findutils/"/>
91
92Flex (&flex-version;) - &flex-size;:
93<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/>
94
95Gawk (&gawk-version;) - &gawk-size;:
96<ulink url="http://freshmeat.net/projects/gnuawk/"/>
97
98GCC (&gcc-2953-version;) - &gcc-2953-size;:
99<ulink url="http://freshmeat.net/projects/gcc/"/>
100GCC-core (&gcc-version;) - &gcc-core-size;:
101<ulink url="http://freshmeat.net/projects/gcc/"/>
102GCC-g++ (&gcc-version;) - &gcc-gpp-size;:
103<ulink url="http://freshmeat.net/projects/gcc/"/>
104
105GCC-testsuite (&gcc-version;) - &gcc-testsuite-size;:
106<ulink url="http://freshmeat.net/projects/gcc/"/>
107
108Gettext (&gettext-version;) - &gettext-size;:
109<ulink url="http://freshmeat.net/projects/gettext/"/>
110
111Glibc (&glibc-version;) - &glibc-size;:
112<ulink url="http://freshmeat.net/projects/glibc/"/>
113Glibc-linuxthreads (&glibc-version;) - &glibc-threads-size;:
114<ulink url="http://freshmeat.net/projects/glibc/"/>
115
116Grep (&grep-version;) - &grep-size;:
117<ulink url="http://freshmeat.net/projects/grep/"/>
118
119Groff (&groff-version;) - &groff-size;:
120<ulink url="http://freshmeat.net/projects/groff/"/>
121
122Grub (&grub-version;) - &grub-size;:
123<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/>
124
125Gzip (&gzip-version;) - &gzip-size;:
126<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/>
127
128Inetutils (&inetutils-version;) - &inetutils-size;:
129<ulink url="http://freshmeat.net/projects/inetutils/"/>
130
131Kbd (&kbd-version;) - &kbd-size;:
132<ulink url="http://freshmeat.net/projects/kbd/"/>
133
134Less (&less-version;) - &less-size;:
135<ulink url="http://freshmeat.net/projects/less/"/>
136
137LFS-Bootscripts (&bootscripts-version;) - &bootscripts-size;:
138<ulink url="&http;/lfs-bootscripts-&bootscripts-version;.tar.bz2"/>
139
140Lfs-Utils (&lfs-utils-version;) - &lfs-utils-size;:
141<ulink url="http://www.linuxfromscratch.org/~winkie/downloads/lfs-utils/"/>
142
143Libtool (&libtool-version;) - &libtool-size;:
144<ulink url="http://freshmeat.net/projects/libtool/"/>
145
146Linux (&kernel-version;) - &kernel-size;:
147<ulink url="http://freshmeat.net/projects/linux/"/>
148
149M4 (&m4-version;) - &m4-size;:
150<ulink url="http://freshmeat.net/projects/gnum4/"/>
151
152Make (&make-version;) - &make-size;:
153<ulink url="http://freshmeat.net/projects/gnumake"/>
154
155MAKEDEV (&makedev-version;) - &makedev-size;:
156<ulink url="&http;/MAKEDEV-&makedev-version;.bz2"/>
157
158Man (&man-version;) - &man-size;:
159<ulink url="http://freshmeat.net/projects/man/"/>
160
161Man-pages (&man-pages-version;) - &man-pages-size;:
162<ulink url="http://freshmeat.net/projects/man-pages/"/>
163
164Modutils (&modutils-version;) - &modutils-size;:
165<ulink url="http://freshmeat.net/projects/modutils/"/>
166
167Ncurses (&ncurses-version;) - &ncurses-size;:
168<ulink url="http://freshmeat.net/projects/ncurses/"/>
169
170Net-tools (&net-tools-version;) - &net-tools-size;:
171<ulink url="http://freshmeat.net/projects/net-tools/"/>
172
173Patch (&patch-version;) - &patch-size;:
174<ulink url="http://freshmeat.net/projects/patch/"/>
175
176Perl (&perl-version;) - &perl-size;:
177<ulink url="http://freshmeat.net/projects/perl/"/>
178
179Procinfo (&procinfo-version;) - &procinfo-size;:
180<ulink url="http://freshmeat.net/projects/procinfo/"/>
181
182Procps (&procps-version;) - &procps-size;:
183<ulink url="http://freshmeat.net/projects/procps/"/>
184
185Psmisc (&psmisc-version;) - &psmisc-size;:
186<ulink url="http://freshmeat.net/projects/psmisc/"/>
187
188Sed (&sed-version;) - &sed-size;:
189<ulink url="http://freshmeat.net/projects/sed/"/>
190
191Shadow (&shadow-version;) - &shadow-size;:
192<ulink url="http://freshmeat.net/projects/shadow/"/>
193
194Sysklogd (&sysklogd-version;) - &sysklogd-size;:
195<ulink url="http://freshmeat.net/projects/sysklogd/"/>
196
197Sysvinit (&sysvinit-version;) - &sysvinit-size;:
198<ulink url="http://freshmeat.net/projects/sysvinit/"/>
199
200Tar (&tar-version;) - &tar-size;:
201<ulink url="ftp://alpha.gnu.org/gnu/tar/"/>
202
203TCL (&tcl-version;) - &tcl-size;:
204<ulink url="http://freshmeat.net/projects/tcltk/"/>
205
206Texinfo (&texinfo-version;) - &texinfo-size;:
207<ulink url="http://freshmeat.net/projects/texinfo/"/>
208
209Util-linux (&util-linux-version;) - &util-linux-size;:
210<ulink url="http://freshmeat.net/projects/util-linux/"/>
211
212Vim (&vim-version;) - &vim-size;:
213<ulink url="http://freshmeat.net/projects/vim/"/>
214
215Zlib (&zlib-version;) - &zlib-size;:
216<ulink url="http://freshmeat.net/projects/zlib/"/>
217
218Total size of these packages: &all-size-mb;
219</literallayout>
220
221</sect1>
222
223
224<sect1 id="ch04-patches">
225<title>Needed patches</title>
226<?dbhtml filename="patches.html" dir="chapter04"?>
227
228<para>Besides all those packages, you'll also need several patches. These
229correct tiny mistakes in the packages that should be fixed by the maintainer,
230or just make some small modifications to bend things our way. You'll need the
231following:</para>
232
233<literallayout>
234Bash Patch (&bash-patch-version;) - &bash-patch-size;:
235<ulink url="&http;/bash-&bash-patch-version;.patch"/>
236
237Bison Attribute Patch:
238<ulink url="&http;/bison-1.875-attribute.patch"/>
239
240Coreutils Hostname Patch (&coreutils-hostname-patch-version;) - &coreutils-hostname-patch-size;:
241<ulink url="&http;/coreutils-&coreutils-hostname-patch-version;.patch"/>
242Coreutils Uname Patch (&coreutils-uname-patch-version;) - &coreutils-uname-patch-size;:
243<ulink url="&http;/coreutils-&coreutils-uname-patch-version;.patch"/>
244
245Ed Patch (&ed-patch-version;) - &ed-patch-size;:
246<ulink url="&http;/ed-&ed-patch-version;.patch"/>
247
248Expect Patch (&expect-patch-version;) - &expect-patch-size;:
249<ulink url="&http;/expect-&expect-patch-version;.patch"/>
250
251Gawk Patch (&gawk-patch-version;) - &gawk-patch-size;:
252<ulink url="&http;/gawk-&gawk-patch-version;.patch"/>
253
254GCC Patch (&gcc-2953-patch-version;) - &gcc-2953-patch-size;:
255<ulink url="&http;/gcc-&gcc-2953-patch-version;.patch"/>
256
257GCC-2 Return-type Patch:
258<ulink url="&http;/gcc-2.95.3-returntype-fix.patch"/>
259
260GCC No Fixincludes Patch:
261<ulink url="&http;/gcc-3.3.1-no_fixincludes-2.patch"/>
262GCC Specs Patch:
263<ulink url="&http;/gcc-3.3.1-specs-1.patch"/>
264GCC Suppress Libiberty Patch:
265<ulink url="&http;/gcc-3.3.1-suppress-libiberty.patch"/>
266
267Glibc Sscanf Patch:
268<ulink url="&http;/glibc-2.3.2-sscanf-1.patch"/>
269
270Grub Patch (&grub-patch-version;) - &grub-patch-size;:
271<ulink url="&http;/grub-&grub-patch-version;.patch"/>
272
273Kbd Patch (&kbd-patch-version;) - &kbd-patch-size;:
274<ulink url="&http;/kbd-&kbd-patch-version;.patch"/>
275
276Man 80Cols Patch (&man-80cols-patch-version;) - &man-80cols-patch-size;:
277<ulink url="&http;/man-&man-80cols-patch-version;-80cols.patch"/>
278Man Manpath Patch (&man-manpath-patch-version;) - &man-manpath-patch-size;:
279<ulink url="&http;/man-&man-manpath-patch-version;-manpath.patch"/>
280Man Pager Patch (&man-pager-patch-version;) - &man-pager-patch-size;:
281<ulink url="&http;/man-&man-pager-patch-version;-pager.patch"/>
282
283Ncurses Etip Patch (&ncurses-etip-patch-version;) - &ncurses-etip-patch-size;:
284<ulink url="&http;/ncurses-5.3-etip-2.patch"/>
285Ncurses Vsscanf Patch (&ncurses-vsscanf-patch-version;) - &ncurses-vsscanf-patch-size;:
286<ulink url="&http;/ncurses-5.3-vsscanf.patch"/>
287
288Perl Libc Patch (&perl-libc-patch-version;) - &perl-libc-patch-size;:
289<ulink url="&http;/perl-&perl-libc-patch-version;.patch"/>
290
291Procps Patch (&procps-patch-version;) - &procps-patch-size;:
292<ulink url="&http;/procps-&procps-patch-version;.patch"/>
293
294Shadow Patch (&shadow-patch-version;) - &shadow-patch-size;:
295<ulink url="&http;/shadow-&shadow-patch-version;.patch"/>
296
297Zlib Patch (&zlib-patch-version;) - &zlib-patch-size;:
298<ulink url="&http;/zlib-&zlib-patch-version;.patch"/>
299</literallayout>
300
301<para>In addition, there are a number of optional patches that have been
302created by the LFS community. Most of these solve slight problems, or enable
303some functionality that's not enabled by default. Please feel free to examine
304the patches database, located at <ulink url="http://www.linuxfromscratch.org/patches"/>, and choose any additional patches you might wish to use.</para>
305
306</sect1>
307
308</chapter>
309
Note: See TracBrowser for help on using the repository browser.