source: chapter04/chapter04.xml@ bb23dfb

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 bb23dfb was 3985670, checked in by Greg Schafer <greg@…>, 21 years ago

Appendix A and Entities cleanup.

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

  • Property mode set to 100644
File size: 12.1 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<para>You'll need to store all the downloaded packages and patches somewhere
33that is conveniently available throughout the entire build. You'll also need a
34working directory in which to unpack the sources and build them. A scheme that
35works well is to use $LFS/tools/src/packages for all the downloaded files and
36$LFS/tools/src for the working directory. In this way, everything will be on the
37LFS partition and always available.</para>
38
39<!--
40<para>For your convenience the top of the list contains a link to a file
41you can use with the <ulink url="http://wget.sunsite.dk">wget</ulink>
42program. Using this file and the <userinput>wget</userinput> program will
43make it easy to download all the files at once, rather than downloading each
44and every individual file manually.</para>
45-->
46
47</sect1>
48
49
50<sect1 id="ch04-packages">
51<title>All the packages</title>
52<?dbhtml filename="packages.html" dir="chapter04"?>
53
54<para>Download or otherwise obtain the following packages:</para>
55
56<literallayout>
57Autoconf (&autoconf-version;) - &autoconf-size;:
58<ulink url="http://freshmeat.net/projects/autoconf/"/>
59
60Automake (&automake-version;) - &automake-size;:
61<ulink url="http://freshmeat.net/projects/automake/"/>
62
63Bash (&bash-version;) - &bash-size;:
64<ulink url="http://freshmeat.net/projects/gnubash/"/>
65
66Binutils (&binutils-version;) - &binutils-size;:
67<ulink url="http://freshmeat.net/projects/binutils/"/>
68
69Bison (&bison-version;) - &bison-size;:
70<ulink url="http://freshmeat.net/projects/bison/"/>
71
72Bzip2 (&bzip2-version;) - &bzip2-size;:
73<ulink url="http://freshmeat.net/projects/bzip2/"/>
74
75Coreutils (&coreutils-version;) - &coreutils-size;:
76<ulink url="http://freshmeat.net/projects/coreutils/"/>
77
78DejaGnu (&dejagnu-version;) - &dejagnu-size;:
79<ulink url="http://freshmeat.net/projects/dejagnu/"/>
80
81Diffutils (&diffutils-version;) - &diffutils-size;:
82<ulink url="http://freshmeat.net/projects/diffutils/"/>
83
84E2fsprogs (&e2fsprogs-version;) - &e2fsprogs-size;:
85<ulink url="http://freshmeat.net/projects/e2fsprogs/"/>
86
87Ed (&ed-version;) - &ed-size;:
88<ulink url="http://freshmeat.net/projects/ed/"/>
89
90Expect (&expect-version;) - &expect-size;:
91<ulink url="http://freshmeat.net/projects/expect/"/>
92
93File (&file-version;) - &file-size;:
94<ulink url="http://freshmeat.net/projects/file/"/>
95
96Findutils (&findutils-version;) - &findutils-size;:
97<ulink url="http://freshmeat.net/projects/findutils/"/>
98
99Flex (&flex-version;) - &flex-size;:
100<ulink url="ftp://ftp.gnu.org/gnu/non-gnu/flex/"/>
101
102Gawk (&gawk-version;) - &gawk-size;:
103<ulink url="http://freshmeat.net/projects/gnuawk/"/>
104
105GCC (&gcc-2953-version;) - &gcc-2953-size;:
106<ulink url="http://freshmeat.net/projects/gcc/"/>
107GCC-core (&gcc-version;) - &gcc-core-size;:
108<ulink url="http://freshmeat.net/projects/gcc/"/>
109GCC-g++ (&gcc-version;) - &gcc-gpp-size;:
110<ulink url="http://freshmeat.net/projects/gcc/"/>
111
112GCC-testsuite (&gcc-version;) - &gcc-testsuite-size;:
113<ulink url="http://freshmeat.net/projects/gcc/"/>
114
115Gettext (&gettext-version;) - &gettext-size;:
116<ulink url="http://freshmeat.net/projects/gettext/"/>
117
118Glibc (&glibc-version;) - &glibc-size;:
119<ulink url="http://freshmeat.net/projects/glibc/"/>
120Glibc-linuxthreads (&glibc-version;) - &glibc-threads-size;:
121<ulink url="http://freshmeat.net/projects/glibc/"/>
122
123Grep (&grep-version;) - &grep-size;:
124<ulink url="http://freshmeat.net/projects/grep/"/>
125
126Groff (&groff-version;) - &groff-size;:
127<ulink url="http://freshmeat.net/projects/groff/"/>
128
129Grub (&grub-version;) - &grub-size;:
130<ulink url="ftp://alpha.gnu.org/pub/gnu/grub/"/>
131
132Gzip (&gzip-version;) - &gzip-size;:
133<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/>
134
135Inetutils (&inetutils-version;) - &inetutils-size;:
136<ulink url="http://freshmeat.net/projects/inetutils/"/>
137
138Kbd (&kbd-version;) - &kbd-size;:
139<ulink url="http://freshmeat.net/projects/kbd/"/>
140
141Less (&less-version;) - &less-size;:
142<ulink url="http://freshmeat.net/projects/less/"/>
143
144LFS-Bootscripts (&bootscripts-version;) - &bootscripts-size;:
145<ulink url="&http;/lfs-bootscripts-&bootscripts-version;.tar.bz2"/>
146
147Lfs-Utils (&lfs-utils-version;) - &lfs-utils-size;:
148<ulink url="http://www.linuxfromscratch.org/~winkie/downloads/lfs-utils/"/>
149
150Libtool (&libtool-version;) - &libtool-size;:
151<ulink url="http://freshmeat.net/projects/libtool/"/>
152
153Linux (&kernel-version;) - &kernel-size;:
154<ulink url="http://freshmeat.net/projects/linux/"/>
155
156M4 (&m4-version;) - &m4-size;:
157<ulink url="http://freshmeat.net/projects/gnum4/"/>
158
159Make (&make-version;) - &make-size;:
160<ulink url="http://freshmeat.net/projects/gnumake"/>
161
162MAKEDEV (&makedev-version;) - &makedev-size;:
163<ulink url="&http;/MAKEDEV-&makedev-version;.bz2"/>
164
165Man (&man-version;) - &man-size;:
166<ulink url="http://freshmeat.net/projects/man/"/>
167
168Man-pages (&man-pages-version;) - &man-pages-size;:
169<ulink url="http://freshmeat.net/projects/man-pages/"/>
170
171Modutils (&modutils-version;) - &modutils-size;:
172<ulink url="http://freshmeat.net/projects/modutils/"/>
173
174Ncurses (&ncurses-version;) - &ncurses-size;:
175<ulink url="http://freshmeat.net/projects/ncurses/"/>
176
177Net-tools (&net-tools-version;) - &net-tools-size;:
178<ulink url="http://freshmeat.net/projects/net-tools/"/>
179
180Patch (&patch-version;) - &patch-size;:
181<ulink url="http://freshmeat.net/projects/patch/"/>
182
183Perl (&perl-version;) - &perl-size;:
184<ulink url="http://freshmeat.net/projects/perl/"/>
185
186Procinfo (&procinfo-version;) - &procinfo-size;:
187<ulink url="http://freshmeat.net/projects/procinfo/"/>
188
189Procps (&procps-version;) - &procps-size;:
190<ulink url="http://freshmeat.net/projects/procps/"/>
191
192Psmisc (&psmisc-version;) - &psmisc-size;:
193<ulink url="http://freshmeat.net/projects/psmisc/"/>
194
195Sed (&sed-version;) - &sed-size;:
196<ulink url="http://freshmeat.net/projects/sed/"/>
197
198Shadow (&shadow-version;) - &shadow-size;:
199<ulink url="http://freshmeat.net/projects/shadow/"/>
200
201Sysklogd (&sysklogd-version;) - &sysklogd-size;:
202<ulink url="http://freshmeat.net/projects/sysklogd/"/>
203
204Sysvinit (&sysvinit-version;) - &sysvinit-size;:
205<ulink url="http://freshmeat.net/projects/sysvinit/"/>
206
207Tar (&tar-version;) - &tar-size;:
208<ulink url="ftp://alpha.gnu.org/gnu/tar/"/>
209
210Tcl (&tcl-version;) - &tcl-size;:
211<ulink url="http://freshmeat.net/projects/tcltk/"/>
212
213Texinfo (&texinfo-version;) - &texinfo-size;:
214<ulink url="http://freshmeat.net/projects/texinfo/"/>
215
216Util-linux (&util-linux-version;) - &util-linux-size;:
217<ulink url="http://freshmeat.net/projects/util-linux/"/>
218
219Vim (&vim-version;) - &vim-size;:
220<ulink url="http://freshmeat.net/projects/vim/"/>
221
222Zlib (&zlib-version;) - &zlib-size;:
223<ulink url="http://freshmeat.net/projects/zlib/"/>
224
225Total size of these packages: &all-size-mb;
226</literallayout>
227
228</sect1>
229
230
231<sect1 id="ch04-patches">
232<title>Needed patches</title>
233<?dbhtml filename="patches.html" dir="chapter04"?>
234
235<para>Besides all those packages, you'll also need several patches. These
236correct tiny mistakes in the packages that should be fixed by the maintainer,
237or just make some small modifications to bend things our way. You'll need the
238following:</para>
239
240<literallayout>
241Bash Patch (&bash-patch-version;) - &bash-patch-size;:
242<ulink url="&http;/bash-&bash-patch-version;.patch"/>
243
244Bison Attribute Patch:
245<ulink url="&http;/bison-1.875-attribute.patch"/>
246
247Coreutils Hostname Patch (&coreutils-hostname-patch-version;) - &coreutils-hostname-patch-size;:
248<ulink url="&http;/coreutils-&coreutils-hostname-patch-version;.patch"/>
249
250Coreutils Uname Patch (&coreutils-uname-patch-version;) - &coreutils-uname-patch-size;:
251<ulink url="&http;/coreutils-&coreutils-uname-patch-version;.patch"/>
252
253Ed Patch (&ed-patch-version;) - &ed-patch-size;:
254<ulink url="&http;/ed-&ed-patch-version;.patch"/>
255
256Expect Patch (&expect-patch-version;) - &expect-patch-size;:
257<ulink url="&http;/expect-&expect-patch-version;.patch"/>
258
259Gawk Patch (&gawk-patch-version;) - &gawk-patch-size;:
260<ulink url="&http;/gawk-&gawk-patch-version;.patch"/>
261
262GCC No Fixincludes Patch: (&gcc-nofixincludes-patch-version;) - &gcc-nofixincludes-patch-size;:
263<ulink url="&http;/gcc-&gcc-nofixincludes-patch-version;.patch"/>
264
265GCC Specs Patch: (&gcc-specs-patch-version;) - &gcc-specs-patch-size;:
266<ulink url="&http;/gcc-&gcc-specs-patch-version;.patch"/>
267
268GCC Suppress Libiberty Patch: (&gcc-suppress-libiberty-patch-version;) - &gcc-suppress-libiberty-patch-size;:
269<ulink url="&http;/gcc-&gcc-suppress-libiberty-patch-version;.patch"/>
270
271GCC-2 Patch (&gcc-2953-patch-version;) - &gcc-2953-patch-size;:
272<ulink url="&http;/gcc-&gcc-2953-patch-version;.patch"/>
273
274GCC-2 No Fixincludes Patch (&gcc-2953-no-fixinc-patch-version;) - &gcc-2953-no-fixinc-patch-size;:
275<ulink url="&http;/gcc-&gcc-2953-no-fixinc-patch-version;-no-fixinc.patch"/>
276
277GCC-2 Return Type Patch (&gcc-2953-returntype-fix-patch-version;) - &gcc-2953-returntype-fix-patch-size;:
278<ulink url="&http;/gcc-&gcc-2953-returntype-fix-patch-version;-returntype-fix.patch"/>
279
280Glibc Sscanf Patch: - &glibc-sscanf-patch-size;:
281<ulink url="&http;/glibc-&glibc-sscanf-patch-version;.patch"/>
282
283Grub Patch (&grub-patch-version;) - &grub-patch-size;:
284<ulink url="&http;/grub-&grub-patch-version;.patch"/>
285
286Kbd Patch (&kbd-patch-version;) - &kbd-patch-size;:
287<ulink url="&http;/kbd-&kbd-patch-version;.patch"/>
288
289Man 80Cols Patch (&man-80cols-patch-version;) - &man-80cols-patch-size;:
290<ulink url="&http;/man-&man-80cols-patch-version;-80cols.patch"/>
291
292Man Manpath Patch (&man-manpath-patch-version;) - &man-manpath-patch-size;:
293<ulink url="&http;/man-&man-manpath-patch-version;-manpath.patch"/>
294
295Man Pager Patch (&man-pager-patch-version;) - &man-pager-patch-size;:
296<ulink url="&http;/man-&man-pager-patch-version;-pager.patch"/>
297
298Ncurses Etip Patch (&ncurses-etip-patch-version;) - &ncurses-etip-patch-size;:
299<ulink url="&http;/ncurses-5.3-etip-2.patch"/>
300
301Ncurses Vsscanf Patch (&ncurses-vsscanf-patch-version;) - &ncurses-vsscanf-patch-size;:
302<ulink url="&http;/ncurses-5.3-vsscanf.patch"/>
303
304Net-Tools mii-tool Patch (1.60) - 2k:
305<ulink url="&http;/net-tools-1.60-miitool-gcc33-1.patch"/>
306
307Perl Libc Patch (&perl-libc-patch-version;) - &perl-libc-patch-size;:
308<ulink url="&http;/perl-&perl-libc-patch-version;.patch"/>
309
310Procps Patch (&procps-patch-version;) - &procps-patch-size;:
311<ulink url="&http;/procps-&procps-patch-version;.patch"/>
312
313Shadow Patch (&shadow-patch-version;) - &shadow-patch-size;:
314<ulink url="&http;/shadow-&shadow-patch-version;.patch"/>
315
316Zlib Patch (&zlib-patch-version;) - &zlib-patch-size;:
317<ulink url="&http;/zlib-&zlib-patch-version;.patch"/>
318</literallayout>
319
320<para>In addition, there are a number of optional patches that have been
321created by the LFS community. Most of these solve slight problems, or enable
322some functionality that's not enabled by default. Please feel free to examine
323the patches database, located at <ulink url="http://www.linuxfromscratch.org/patches"/>, and choose any additional patches you might wish to use.</para>
324
325</sect1>
326
327</chapter>
328
Note: See TracBrowser for help on using the repository browser.