1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="pre-why">
|
---|
9 | <?dbhtml filename="package-choices.html"?>
|
---|
10 |
|
---|
11 | <title>Rationale for Packages in the Book</title>
|
---|
12 |
|
---|
13 | <para>As stated earlier, the goal of LFS is to build a complete and usable
|
---|
14 | foundation-level system. This includes all packages needed to replicate
|
---|
15 | itself while providing a relatively minimal base from which to customize
|
---|
16 | a more complete system based on the choices of the user. This does not
|
---|
17 | mean that LFS is the smallest system possible. Several important packages
|
---|
18 | are included that are not strictly required. The lists below document the
|
---|
19 | rationale for each package in the book.</para>
|
---|
20 |
|
---|
21 | <itemizedlist>
|
---|
22 |
|
---|
23 | <listitem>
|
---|
24 | <para>Autoconf</para>
|
---|
25 |
|
---|
26 | <para>This package contains programs for producing shell scripts that
|
---|
27 | can automatically configure source code from a developer's
|
---|
28 | template. It is often needed to rebuild a package after updates
|
---|
29 | to the build procedures.</para>
|
---|
30 | </listitem>
|
---|
31 |
|
---|
32 | <listitem>
|
---|
33 | <para>Automake</para>
|
---|
34 |
|
---|
35 | <para>This package contains programs for generating Make files from
|
---|
36 | a template. It is often needed to rebuild a package after updates
|
---|
37 | to the build procedures.</para>
|
---|
38 | </listitem>
|
---|
39 |
|
---|
40 | <listitem>
|
---|
41 | <para>Bash</para>
|
---|
42 |
|
---|
43 | <para>This package satisfies an LSB core requirement to provide
|
---|
44 | a Bourne Shell interface to the system. It was chosen over
|
---|
45 | other shell packages because of its common usage and extensive
|
---|
46 | capabilities beyond basic shell functions. </para>
|
---|
47 | </listitem>
|
---|
48 |
|
---|
49 | <listitem>
|
---|
50 | <para>Binutils</para>
|
---|
51 |
|
---|
52 | <para>This package package contains a linker, an assembler, and other
|
---|
53 | tools for handling object files.</para>
|
---|
54 | </listitem>
|
---|
55 |
|
---|
56 | <listitem>
|
---|
57 | <para>Bison</para>
|
---|
58 |
|
---|
59 | <para>This package contains the GNU version of yacc (Yet Another
|
---|
60 | Compiler Compiler) needed to build several other LFS programs.
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 |
|
---|
64 | <listitem>
|
---|
65 | <para>Bzip2</para>
|
---|
66 |
|
---|
67 | <para>This package contains programs for compressing and decompressing
|
---|
68 | files. It is required to decompress many LFS packages.</para>
|
---|
69 | </listitem>
|
---|
70 |
|
---|
71 | <listitem>
|
---|
72 | <para>Coreutils</para>
|
---|
73 |
|
---|
74 | <para>This package contains a number of essential programs for viewing
|
---|
75 | and manipulating files and directories. </para>
|
---|
76 | </listitem>
|
---|
77 |
|
---|
78 | <listitem>
|
---|
79 | <para>DejaGNU</para>
|
---|
80 |
|
---|
81 | <para>This package contains a framework for testing other programs.
|
---|
82 | It is only installed in the temporary toolchain.</para>
|
---|
83 | </listitem>
|
---|
84 |
|
---|
85 | <listitem>
|
---|
86 | <para>Diffutils</para>
|
---|
87 |
|
---|
88 | <para>This package contains programs that show the differences
|
---|
89 | between files or directories. </para>
|
---|
90 | </listitem>
|
---|
91 |
|
---|
92 | <listitem>
|
---|
93 | <para>Expect</para>
|
---|
94 |
|
---|
95 | <para>This package contains a program for carrying out scripted
|
---|
96 | dialogues with other interactive programs. It is commonly used
|
---|
97 | for testing other packages. It is only installed in the temporary
|
---|
98 | toolchain.</para>
|
---|
99 | </listitem>
|
---|
100 |
|
---|
101 | <listitem>
|
---|
102 | <para>E2fsprogs</para>
|
---|
103 |
|
---|
104 | <para>This package contains the utilities for handling the ext2, ext3
|
---|
105 | and ext4 file systems. These are the most common and thoroughly
|
---|
106 | tested file systems that Linux supports.</para>
|
---|
107 | </listitem>
|
---|
108 |
|
---|
109 | <listitem>
|
---|
110 | <para>File</para>
|
---|
111 |
|
---|
112 | <para>This package contains a utility for determining the type of a
|
---|
113 | given file or files.</para>
|
---|
114 | </listitem>
|
---|
115 |
|
---|
116 | <listitem>
|
---|
117 | <para>Findutils</para>
|
---|
118 |
|
---|
119 | <para>This package contains programs to find files in a file system.</para>
|
---|
120 | </listitem>
|
---|
121 |
|
---|
122 | <listitem>
|
---|
123 | <para>Flex</para>
|
---|
124 |
|
---|
125 | <para>This package contains a utility for generating programs that
|
---|
126 | recognize patterns in text. It is the GNU version of the lex
|
---|
127 | (lexical analyzer) program. It is required to build several
|
---|
128 | LFS packages. </para>
|
---|
129 | </listitem>
|
---|
130 |
|
---|
131 | <listitem>
|
---|
132 | <para>Gawk</para>
|
---|
133 |
|
---|
134 | <para>This package contains programs for manipulating text files.
|
---|
135 | It is the GNU version of awk (Aho-Weinberg-Kernighan). </para>
|
---|
136 | </listitem>
|
---|
137 |
|
---|
138 | <listitem>
|
---|
139 | <para>Gcc</para>
|
---|
140 |
|
---|
141 | <para>This package is the Gnu Compiler Collection. It contains the
|
---|
142 | C and C++ compilers as well as several others not built by LFS.
|
---|
143 | </para>
|
---|
144 | </listitem>
|
---|
145 |
|
---|
146 | <listitem>
|
---|
147 | <para>GDBM</para>
|
---|
148 |
|
---|
149 | <para>This package contains the GNU Database Manager library. It
|
---|
150 | is used by one other LFS package, Man-DB.
|
---|
151 | </para>
|
---|
152 | </listitem>
|
---|
153 |
|
---|
154 | <listitem>
|
---|
155 | <para>Gettext</para>
|
---|
156 |
|
---|
157 | <para>This package contains utilities and libraries for
|
---|
158 | internationalization and localization of numerous packages.
|
---|
159 | </para>
|
---|
160 | </listitem>
|
---|
161 |
|
---|
162 | <listitem>
|
---|
163 | <para>Glibc</para>
|
---|
164 |
|
---|
165 | <para>This package contains the main C library. Linux programs would
|
---|
166 | not run without it. </para>
|
---|
167 | </listitem>
|
---|
168 |
|
---|
169 | <listitem>
|
---|
170 | <para>GMP</para>
|
---|
171 |
|
---|
172 | <para>This package package contains math libraries and have
|
---|
173 | useful functions for arbitrary precision arithmetic. It
|
---|
174 | is required to build Gcc. </para>
|
---|
175 | </listitem>
|
---|
176 |
|
---|
177 | <listitem>
|
---|
178 | <para>Grep</para>
|
---|
179 |
|
---|
180 | <para>This package contains programs for searching through files.
|
---|
181 | </para>
|
---|
182 | </listitem>
|
---|
183 |
|
---|
184 | <listitem>
|
---|
185 | <para>Groff</para>
|
---|
186 |
|
---|
187 | <para>This package contains programs for processing and formatting text.
|
---|
188 | One important function of these programs is to format man pages.
|
---|
189 | </para>
|
---|
190 | </listitem>
|
---|
191 |
|
---|
192 | <listitem>
|
---|
193 | <para>GRUB</para>
|
---|
194 |
|
---|
195 | <para>This package is the Grand Unified Boot Loader. It is one
|
---|
196 | of several boot loaders available, but is the most flexible.
|
---|
197 | </para>
|
---|
198 | </listitem>
|
---|
199 |
|
---|
200 | <listitem>
|
---|
201 | <para>Gzip</para>
|
---|
202 |
|
---|
203 | <para>This package contains programs for compressing and
|
---|
204 | decompressing files. </para>
|
---|
205 | </listitem>
|
---|
206 |
|
---|
207 | <listitem>
|
---|
208 | <para>Iana-etc</para>
|
---|
209 |
|
---|
210 | <para>This package provides data for network services and protocols.
|
---|
211 | It is needed to enable proper networking capabilities.
|
---|
212 | </para>
|
---|
213 | </listitem>
|
---|
214 |
|
---|
215 | <listitem>
|
---|
216 | <para>Inetutils</para>
|
---|
217 |
|
---|
218 | <para>This package contains programs for basic network
|
---|
219 | administration.
|
---|
220 | </para>
|
---|
221 | </listitem>
|
---|
222 |
|
---|
223 | <listitem>
|
---|
224 | <para>IProute2</para>
|
---|
225 |
|
---|
226 | <para>This package contains programs for basic and advanced IPv4 and
|
---|
227 | IPv6 networking. It was chosen over the other common network
|
---|
228 | tools package (net-tools) for its IPv6 capabilities. </para>
|
---|
229 | </listitem>
|
---|
230 |
|
---|
231 | <listitem>
|
---|
232 | <para>Kbd</para>
|
---|
233 |
|
---|
234 | <para>This package contains key-table files and keyboard utilities
|
---|
235 | for non-US keyboards. </para>
|
---|
236 | </listitem>
|
---|
237 |
|
---|
238 | <listitem>
|
---|
239 | <para>Less</para>
|
---|
240 |
|
---|
241 | <para>This package contains a very nice text file viewer that
|
---|
242 | allows scrolling up or down when viewing a file.
|
---|
243 | </para>
|
---|
244 | </listitem>
|
---|
245 |
|
---|
246 | <listitem>
|
---|
247 | <para>Libtool</para>
|
---|
248 |
|
---|
249 | <para>This package contains the GNU generic library support
|
---|
250 | script. It wraps the complexity of using shared libraries in a
|
---|
251 | consistent, portable interface. It is needed by the test
|
---|
252 | suites in other LFS packages.
|
---|
253 | </para>
|
---|
254 | </listitem>
|
---|
255 |
|
---|
256 | <listitem>
|
---|
257 | <para>Linux Kernel</para>
|
---|
258 |
|
---|
259 | <para>This package is the Operating System. It is the Linux in
|
---|
260 | the GNU/Linux environment.
|
---|
261 | </para>
|
---|
262 | </listitem>
|
---|
263 |
|
---|
264 | <listitem>
|
---|
265 | <para>M4</para>
|
---|
266 |
|
---|
267 | <para>This package contains a general text macro processor useful
|
---|
268 | as a build tool for other programs.
|
---|
269 | </para>
|
---|
270 | </listitem>
|
---|
271 |
|
---|
272 | <listitem>
|
---|
273 | <para>Make</para>
|
---|
274 |
|
---|
275 | <para>This package contains a program for directing the building
|
---|
276 | of packages. It is required by almost every package in LFS.
|
---|
277 | </para>
|
---|
278 | </listitem>
|
---|
279 |
|
---|
280 | <listitem>
|
---|
281 | <para>Man-DB</para>
|
---|
282 |
|
---|
283 | <para>This package contains programs for finding and viewing man pages.
|
---|
284 | It was chosen instead of the <application>man</application> package
|
---|
285 | due to superior internationalization capabilities. It supplies
|
---|
286 | the man program. </para>
|
---|
287 | </listitem>
|
---|
288 |
|
---|
289 | <listitem>
|
---|
290 | <para>Man-pages</para>
|
---|
291 |
|
---|
292 | <para>This package contains the actual contents of the basic
|
---|
293 | Linux man pages. </para>
|
---|
294 | </listitem>
|
---|
295 |
|
---|
296 | <listitem>
|
---|
297 | <para>Module-Init-Tools</para>
|
---|
298 |
|
---|
299 | <para>This package contains programs needed to administer Linux
|
---|
300 | kernel modules.</para>
|
---|
301 | </listitem>
|
---|
302 |
|
---|
303 | <listitem>
|
---|
304 | <para>MPFR</para>
|
---|
305 |
|
---|
306 | <para>This package contains functions for multiple precision
|
---|
307 | arithmetic. It is required by Gcc.
|
---|
308 | </para>
|
---|
309 | </listitem>
|
---|
310 |
|
---|
311 | <listitem>
|
---|
312 | <para>Ncurses</para>
|
---|
313 |
|
---|
314 | <para>This package contains libraries for terminal-independent
|
---|
315 | handling of character screens. It is often used to provide
|
---|
316 | cursor control for a menuing system. </para>
|
---|
317 | </listitem>
|
---|
318 |
|
---|
319 | <listitem>
|
---|
320 | <para>Patch</para>
|
---|
321 |
|
---|
322 | <para>This package a program for modifying or creating files by
|
---|
323 | applying a <emphasis>patch</emphasis> file typically created
|
---|
324 | by the <application>diff</application> program. It is needed by
|
---|
325 | the build procedure for several LFS packages. </para>
|
---|
326 | </listitem>
|
---|
327 |
|
---|
328 | <listitem>
|
---|
329 | <para>Perl</para>
|
---|
330 |
|
---|
331 | <para>This package is an interpreter for the runtime language
|
---|
332 | PERL.</para>
|
---|
333 | </listitem>
|
---|
334 |
|
---|
335 | <listitem>
|
---|
336 | <para>Pkg-config</para>
|
---|
337 |
|
---|
338 | <para>This package contains a tool for passing the include path
|
---|
339 | and/or library paths to build tools during the configure and make
|
---|
340 | processes. It is needed by many LFS packages. </para>
|
---|
341 | </listitem>
|
---|
342 |
|
---|
343 | <listitem>
|
---|
344 | <para>Procps</para>
|
---|
345 |
|
---|
346 | <para>This package contains programs for monitoring processes.
|
---|
347 | </para>
|
---|
348 | </listitem>
|
---|
349 |
|
---|
350 | <listitem>
|
---|
351 | <para>Psmisc</para>
|
---|
352 |
|
---|
353 | <para>This package contains programs for displaying information
|
---|
354 | about running processes. </para>
|
---|
355 | </listitem>
|
---|
356 |
|
---|
357 | <listitem>
|
---|
358 | <para>Readline</para>
|
---|
359 |
|
---|
360 | <para>This package is a set of libraries that offers command-line
|
---|
361 | editing and history capabilities. It is used by Bash. </para>
|
---|
362 | </listitem>
|
---|
363 |
|
---|
364 | <listitem>
|
---|
365 | <para>Sed</para>
|
---|
366 |
|
---|
367 | <para>This package allows editing of text without opening it in a
|
---|
368 | text editor. It is also needed by most LFS packages' configure
|
---|
369 | scripts. </para>
|
---|
370 | </listitem>
|
---|
371 |
|
---|
372 | <listitem>
|
---|
373 | <para>Shadow</para>
|
---|
374 |
|
---|
375 | <para>This package contains programs for handling passwords
|
---|
376 | in a secure way.</para>
|
---|
377 | </listitem>
|
---|
378 |
|
---|
379 | <listitem>
|
---|
380 | <para>Sysklogd</para>
|
---|
381 |
|
---|
382 | <para>This package contains programs for logging system messages,
|
---|
383 | such as those given by the kernel or daemon processes when unusual
|
---|
384 | events occur.
|
---|
385 | </para>
|
---|
386 | </listitem>
|
---|
387 |
|
---|
388 | <listitem>
|
---|
389 | <para>Sysvinit</para>
|
---|
390 |
|
---|
391 | <para>This package provides the <application>init</application>
|
---|
392 | program which it the parent of all other processes on the Linux
|
---|
393 | system. </para>
|
---|
394 | </listitem>
|
---|
395 |
|
---|
396 | <listitem>
|
---|
397 | <para>Tar</para>
|
---|
398 |
|
---|
399 | <para>This package provides archiving and extraction capabilities
|
---|
400 | of virtually all packages used in LFS. </para>
|
---|
401 | </listitem>
|
---|
402 |
|
---|
403 | <listitem>
|
---|
404 | <para>Tcl</para>
|
---|
405 |
|
---|
406 | <para>This package contains the Tool Command Language used
|
---|
407 | in many testsuites in LFS packages. It is only installed in
|
---|
408 | the temporary toolchain. </para>
|
---|
409 | </listitem>
|
---|
410 |
|
---|
411 | <listitem>
|
---|
412 | <para>Texinfo</para>
|
---|
413 |
|
---|
414 | <para>This package contains programs for reading, writing, and
|
---|
415 | converting info pages. It is used in the installation
|
---|
416 | procedures of many LFS packages. </para>
|
---|
417 | </listitem>
|
---|
418 |
|
---|
419 | <listitem>
|
---|
420 | <para>Udev</para>
|
---|
421 |
|
---|
422 | <para>This package contains programs for dynamic creation of
|
---|
423 | device nodes. It is an alternative to creating thousands of
|
---|
424 | static devices in the /dev directory.
|
---|
425 | </para>
|
---|
426 | </listitem>
|
---|
427 |
|
---|
428 | <listitem>
|
---|
429 | <para>Util-linux-ng</para>
|
---|
430 |
|
---|
431 | <para>This package contains miscellaneous utility programs.
|
---|
432 | Among them are utilities for handling file systems, consoles,
|
---|
433 | partitions, and messages. </para>
|
---|
434 | </listitem>
|
---|
435 |
|
---|
436 | <listitem>
|
---|
437 | <para>Vim</para>
|
---|
438 |
|
---|
439 | <para>This package contains an editor. It was chosen because of its
|
---|
440 | compatibility with the classic vi editor and its huge number of powerful
|
---|
441 | capabilities. An editor is a very personal choice for
|
---|
442 | many users and any other editor could be substituted if desired.
|
---|
443 | </para>
|
---|
444 | </listitem>
|
---|
445 |
|
---|
446 | <listitem>
|
---|
447 | <para>Zlib</para>
|
---|
448 |
|
---|
449 | <para>This package contains compression and decompression routines
|
---|
450 | used by some programs.
|
---|
451 | </para>
|
---|
452 | </listitem>
|
---|
453 |
|
---|
454 | </itemizedlist>
|
---|
455 |
|
---|
456 | </sect1>
|
---|
457 |
|
---|