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 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 contains math libraries and have useful functions for
|
---|
173 | arbitrary precision arithmetic. It is required to build Gcc. </para>
|
---|
174 | </listitem>
|
---|
175 |
|
---|
176 | <listitem>
|
---|
177 | <para>Grep</para>
|
---|
178 |
|
---|
179 | <para>This package contains programs for searching through files.
|
---|
180 | </para>
|
---|
181 | </listitem>
|
---|
182 |
|
---|
183 | <listitem>
|
---|
184 | <para>Groff</para>
|
---|
185 |
|
---|
186 | <para>This package contains programs for processing and formatting text.
|
---|
187 | One important function of these programs is to format man pages.
|
---|
188 | </para>
|
---|
189 | </listitem>
|
---|
190 |
|
---|
191 | <listitem>
|
---|
192 | <para>GRUB</para>
|
---|
193 |
|
---|
194 | <para>This package is the Grand Unified Boot Loader. It is one
|
---|
195 | of several boot loaders available, but is the most flexible.
|
---|
196 | </para>
|
---|
197 | </listitem>
|
---|
198 |
|
---|
199 | <listitem>
|
---|
200 | <para>Gzip</para>
|
---|
201 |
|
---|
202 | <para>This package contains programs for compressing and
|
---|
203 | decompressing files. </para>
|
---|
204 | </listitem>
|
---|
205 |
|
---|
206 | <listitem>
|
---|
207 | <para>Iana-etc</para>
|
---|
208 |
|
---|
209 | <para>This package provides data for network services and protocols.
|
---|
210 | It is needed to enable proper networking capabilities.
|
---|
211 | </para>
|
---|
212 | </listitem>
|
---|
213 |
|
---|
214 | <listitem>
|
---|
215 | <para>Inetutils</para>
|
---|
216 |
|
---|
217 | <para>This package contains programs for basic network
|
---|
218 | administration.
|
---|
219 | </para>
|
---|
220 | </listitem>
|
---|
221 |
|
---|
222 | <listitem>
|
---|
223 | <para>IProute2</para>
|
---|
224 |
|
---|
225 | <para>This package contains programs for basic and advanced IPv4 and
|
---|
226 | IPv6 networking. It was chosen over the other common network
|
---|
227 | tools package (net-tools) for its IPv6 capabilities. </para>
|
---|
228 | </listitem>
|
---|
229 |
|
---|
230 | <listitem>
|
---|
231 | <para>Kbd</para>
|
---|
232 |
|
---|
233 | <para>This package contains key-table files and keyboard utilities
|
---|
234 | for non-US keyboards. </para>
|
---|
235 | </listitem>
|
---|
236 |
|
---|
237 | <listitem>
|
---|
238 | <para>Less</para>
|
---|
239 |
|
---|
240 | <para>This package contains a very nice text file viewer that
|
---|
241 | allows scrolling up or down when viewing a file.
|
---|
242 | </para>
|
---|
243 | </listitem>
|
---|
244 |
|
---|
245 | <listitem>
|
---|
246 | <para>Libtool</para>
|
---|
247 |
|
---|
248 | <para>This package contains the GNU generic library support
|
---|
249 | script. It wraps the complexity of using shared libraries in a
|
---|
250 | consistent, portable interface. It is needed by the test
|
---|
251 | suites in other LFS packages.
|
---|
252 | </para>
|
---|
253 | </listitem>
|
---|
254 |
|
---|
255 | <listitem>
|
---|
256 | <para>Linux Kernel</para>
|
---|
257 |
|
---|
258 | <para>This package is the Operating System. It is the Linux in
|
---|
259 | the GNU/Linux environment.
|
---|
260 | </para>
|
---|
261 | </listitem>
|
---|
262 |
|
---|
263 | <listitem>
|
---|
264 | <para>M4</para>
|
---|
265 |
|
---|
266 | <para>This package contains a general text macro processor useful
|
---|
267 | as a build tool for other programs.
|
---|
268 | </para>
|
---|
269 | </listitem>
|
---|
270 |
|
---|
271 | <listitem>
|
---|
272 | <para>Make</para>
|
---|
273 |
|
---|
274 | <para>This package contains a program for directing the building
|
---|
275 | of packages. It is required by almost every package in LFS.
|
---|
276 | </para>
|
---|
277 | </listitem>
|
---|
278 |
|
---|
279 | <listitem>
|
---|
280 | <para>Man-DB</para>
|
---|
281 |
|
---|
282 | <para>This package contains programs for finding and viewing man pages.
|
---|
283 | It was chosen instead of the <application>man</application> package
|
---|
284 | due to superior internationalization capabilities. It supplies
|
---|
285 | the man program. </para>
|
---|
286 | </listitem>
|
---|
287 |
|
---|
288 | <listitem>
|
---|
289 | <para>Man-pages</para>
|
---|
290 |
|
---|
291 | <para>This package contains the actual contents of the basic
|
---|
292 | Linux man pages. </para>
|
---|
293 | </listitem>
|
---|
294 |
|
---|
295 | <listitem>
|
---|
296 | <para>Module-Init-Tools</para>
|
---|
297 |
|
---|
298 | <para>This package contains programs needed to administer Linux
|
---|
299 | kernel modules.</para>
|
---|
300 | </listitem>
|
---|
301 |
|
---|
302 | <listitem>
|
---|
303 | <para>MPFR</para>
|
---|
304 |
|
---|
305 | <para>This package contains functions for multiple precision
|
---|
306 | arithmetic. It is required by Gcc.
|
---|
307 | </para>
|
---|
308 | </listitem>
|
---|
309 |
|
---|
310 | <listitem>
|
---|
311 | <para>Ncurses</para>
|
---|
312 |
|
---|
313 | <para>This package contains libraries for terminal-independent
|
---|
314 | handling of character screens. It is often used to provide
|
---|
315 | cursor control for a menuing system. </para>
|
---|
316 | </listitem>
|
---|
317 |
|
---|
318 | <listitem>
|
---|
319 | <para>Patch</para>
|
---|
320 |
|
---|
321 | <para>This package contains a program for modifying or creating files by
|
---|
322 | applying a <emphasis>patch</emphasis> file typically created
|
---|
323 | by the <application>diff</application> program. It is needed by
|
---|
324 | the build procedure for several LFS packages. </para>
|
---|
325 | </listitem>
|
---|
326 |
|
---|
327 | <listitem>
|
---|
328 | <para>Perl</para>
|
---|
329 |
|
---|
330 | <para>This package is an interpreter for the runtime language
|
---|
331 | PERL.</para>
|
---|
332 | </listitem>
|
---|
333 |
|
---|
334 | <listitem>
|
---|
335 | <para>Pkg-config</para>
|
---|
336 |
|
---|
337 | <para>This package contains a tool for passing the include path
|
---|
338 | and/or library paths to build tools during the configure and make
|
---|
339 | processes. It is needed by many LFS packages. </para>
|
---|
340 | </listitem>
|
---|
341 |
|
---|
342 | <listitem>
|
---|
343 | <para>Procps</para>
|
---|
344 |
|
---|
345 | <para>This package contains programs for monitoring processes.
|
---|
346 | </para>
|
---|
347 | </listitem>
|
---|
348 |
|
---|
349 | <listitem>
|
---|
350 | <para>Psmisc</para>
|
---|
351 |
|
---|
352 | <para>This package contains programs for displaying information
|
---|
353 | about running processes. </para>
|
---|
354 | </listitem>
|
---|
355 |
|
---|
356 | <listitem>
|
---|
357 | <para>Readline</para>
|
---|
358 |
|
---|
359 | <para>This package is a set of libraries that offers command-line
|
---|
360 | editing and history capabilities. It is used by Bash. </para>
|
---|
361 | </listitem>
|
---|
362 |
|
---|
363 | <listitem>
|
---|
364 | <para>Sed</para>
|
---|
365 |
|
---|
366 | <para>This package allows editing of text without opening it in a
|
---|
367 | text editor. It is also needed by most LFS packages' configure
|
---|
368 | scripts. </para>
|
---|
369 | </listitem>
|
---|
370 |
|
---|
371 | <listitem>
|
---|
372 | <para>Shadow</para>
|
---|
373 |
|
---|
374 | <para>This package contains programs for handling passwords
|
---|
375 | in a secure way.</para>
|
---|
376 | </listitem>
|
---|
377 |
|
---|
378 | <listitem>
|
---|
379 | <para>Sysklogd</para>
|
---|
380 |
|
---|
381 | <para>This package contains programs for logging system messages,
|
---|
382 | such as those given by the kernel or daemon processes when unusual
|
---|
383 | events occur.
|
---|
384 | </para>
|
---|
385 | </listitem>
|
---|
386 |
|
---|
387 | <listitem>
|
---|
388 | <para>Sysvinit</para>
|
---|
389 |
|
---|
390 | <para>This package provides the <application>init</application>
|
---|
391 | program, which is the parent of all other processes on the Linux
|
---|
392 | system. </para>
|
---|
393 | </listitem>
|
---|
394 |
|
---|
395 | <listitem>
|
---|
396 | <para>Tar</para>
|
---|
397 |
|
---|
398 | <para>This package provides archiving and extraction capabilities
|
---|
399 | of virtually all packages used in LFS. </para>
|
---|
400 | </listitem>
|
---|
401 |
|
---|
402 | <listitem>
|
---|
403 | <para>Tcl</para>
|
---|
404 |
|
---|
405 | <para>This package contains the Tool Command Language used
|
---|
406 | in many testsuites in LFS packages. It is only installed in
|
---|
407 | the temporary toolchain. </para>
|
---|
408 | </listitem>
|
---|
409 |
|
---|
410 | <listitem>
|
---|
411 | <para>Texinfo</para>
|
---|
412 |
|
---|
413 | <para>This package contains programs for reading, writing, and
|
---|
414 | converting info pages. It is used in the installation
|
---|
415 | procedures of many LFS packages. </para>
|
---|
416 | </listitem>
|
---|
417 |
|
---|
418 | <listitem>
|
---|
419 | <para>Udev</para>
|
---|
420 |
|
---|
421 | <para>This package contains programs for dynamic creation of
|
---|
422 | device nodes. It is an alternative to creating thousands of
|
---|
423 | static devices in the /dev directory.
|
---|
424 | </para>
|
---|
425 | </listitem>
|
---|
426 |
|
---|
427 | <listitem>
|
---|
428 | <para>Util-linux-ng</para>
|
---|
429 |
|
---|
430 | <para>This package contains miscellaneous utility programs.
|
---|
431 | Among them are utilities for handling file systems, consoles,
|
---|
432 | partitions, and messages. </para>
|
---|
433 | </listitem>
|
---|
434 |
|
---|
435 | <listitem>
|
---|
436 | <para>Vim</para>
|
---|
437 |
|
---|
438 | <para>This package contains an editor. It was chosen because of its
|
---|
439 | compatibility with the classic vi editor and its huge number of powerful
|
---|
440 | capabilities. An editor is a very personal choice for
|
---|
441 | many users and any other editor could be substituted if desired.
|
---|
442 | </para>
|
---|
443 | </listitem>
|
---|
444 |
|
---|
445 | <listitem>
|
---|
446 | <para>Zlib</para>
|
---|
447 |
|
---|
448 | <para>This package contains compression and decompression routines
|
---|
449 | used by some programs.
|
---|
450 | </para>
|
---|
451 | </listitem>
|
---|
452 |
|
---|
453 | </itemizedlist>
|
---|
454 |
|
---|
455 | </sect1>
|
---|
456 |
|
---|