source: prologue/why.xml@ 25d0483

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 7.4 7.5 7.6 7.7 7.8 7.9 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 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 25d0483 was 25d0483, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to bison-3.0
Update to linux-3.10.4

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

  • Property mode set to 100644
File size: 15.0 KB
Line 
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>Bc</para>
51
52 <para>This package provides an arbitrary precision numeric processing language.
53 It satisfies a requirement needed when building the Linux kernel.</para>
54 </listitem>
55
56 <listitem>
57 <para>Binutils</para>
58
59 <para>This package contains a linker, an assembler, and other
60 tools for handling object files. The programs in this package are
61 needed to compile most of the packages in an LFS system and beyond.</para>
62 </listitem>
63
64 <listitem>
65 <para>Bison</para>
66
67 <para>This package contains the GNU version of yacc (Yet Another
68 Compiler Compiler) needed to build several other LFS programs.</para>
69 </listitem>
70
71 <listitem>
72 <para>Bzip2</para>
73
74 <para>This package contains programs for compressing and decompressing
75 files. It is required to decompress many LFS packages.</para>
76 </listitem>
77
78 <listitem>
79 <para>Check</para>
80
81 <para>This package contains a test harness for other programs.
82 It is only installed in the temporary toolchain.</para>
83 </listitem>
84
85 <listitem>
86 <para>Coreutils</para>
87
88 <para>This package contains a number of essential programs for viewing
89 and manipulating files and directories. These programs are needed for
90 command line file management, and are necessary for the installation
91 procedures of every package in LFS.</para>
92 </listitem>
93
94 <listitem>
95 <para>DejaGNU</para>
96
97 <para>This package contains a framework for testing other programs.
98 It is only installed in the temporary toolchain.</para>
99 </listitem>
100
101 <listitem>
102 <para>Diffutils</para>
103
104 <para>This package contains programs that show the differences
105 between files or directories. These programs can be used to create
106 patches, and are also used in many packages' build procedures.</para>
107 </listitem>
108
109 <listitem>
110 <para>E2fsprogs</para>
111
112 <para>This package contains the utilities for handling the ext2, ext3
113 and ext4 file systems. These are the most common and thoroughly
114 tested file systems that Linux supports.</para>
115 </listitem>
116
117 <listitem>
118 <para>Expect</para>
119
120 <para>This package contains a program for carrying out scripted
121 dialogues with other interactive programs. It is commonly used
122 for testing other packages. It is only installed in the temporary
123 toolchain.</para>
124 </listitem>
125
126 <listitem>
127 <para>File</para>
128
129 <para>This package contains a utility for determining the type of a
130 given file or files. A few packages need it to build.</para>
131 </listitem>
132
133 <listitem>
134 <para>Findutils</para>
135
136 <para>This package contains programs to find files in a file system.
137 It is used in many packages' build scripts.</para>
138 </listitem>
139
140 <listitem>
141 <para>Flex</para>
142
143 <para>This package contains a utility for generating programs that
144 recognize patterns in text. It is the GNU version of the lex
145 (lexical analyzer) program. It is required to build several
146 LFS packages.</para>
147 </listitem>
148
149 <listitem>
150 <para>Gawk</para>
151
152 <para>This package contains programs for manipulating text files.
153 It is the GNU version of awk (Aho-Weinberg-Kernighan). It is used in
154 many other packages' build scripts.</para>
155 </listitem>
156
157 <listitem>
158 <para>Gcc</para>
159
160 <para>This package is the Gnu Compiler Collection. It contains the
161 C and C++ compilers as well as several others not built by LFS.
162 </para>
163 </listitem>
164
165 <listitem>
166 <para>GDBM</para>
167
168 <para>This package contains the GNU Database Manager library. It
169 is used by one other LFS package, Man-DB.</para>
170 </listitem>
171
172 <listitem>
173 <para>Gettext</para>
174
175 <para>This package contains utilities and libraries for
176 internationalization and localization of numerous packages.</para>
177 </listitem>
178
179 <listitem>
180 <para>Glibc</para>
181
182 <para>This package contains the main C library. Linux programs would
183 not run without it.</para>
184 </listitem>
185
186 <listitem>
187 <para>GMP</para>
188
189 <para>This package contains math libraries that provide useful functions
190 for arbitrary precision arithmetic. It is required to build Gcc.</para>
191 </listitem>
192
193 <listitem>
194 <para>Grep</para>
195
196 <para>This package contains programs for searching through files. These
197 programs are used by most packages' build scripts.</para>
198 </listitem>
199
200 <listitem>
201 <para>Groff</para>
202
203 <para>This package contains programs for processing and formatting text.
204 One important function of these programs is to format man pages.</para>
205 </listitem>
206
207 <listitem>
208 <para>GRUB</para>
209
210 <para>This package is the Grand Unified Boot Loader. It is one
211 of several boot loaders available, but is the most flexible.
212 </para>
213 </listitem>
214
215 <listitem>
216 <para>Gzip</para>
217
218 <para>This package contains programs for compressing and
219 decompressing files. It is needed to decompress many packages in LFS
220 and beyond.</para>
221 </listitem>
222
223 <listitem>
224 <para>Iana-etc</para>
225
226 <para>This package provides data for network services and protocols.
227 It is needed to enable proper networking capabilities.</para>
228 </listitem>
229
230 <listitem>
231 <para>Inetutils</para>
232
233 <para>This package contains programs for basic network
234 administration.</para>
235 </listitem>
236
237 <listitem>
238 <para>IProute2</para>
239
240 <para>This package contains programs for basic and advanced IPv4 and
241 IPv6 networking. It was chosen over the other common network
242 tools package (net-tools) for its IPv6 capabilities. </para>
243 </listitem>
244
245 <listitem>
246 <para>Kbd</para>
247
248 <para>This package contains key-table files, keyboard utilities
249 for non-US keyboards, and a number of console fonts.</para>
250 </listitem>
251
252 <listitem>
253 <para>Kmod</para>
254
255 <para>This package contains programs needed to administer Linux
256 kernel modules.</para>
257 </listitem>
258
259 <listitem>
260 <para>Less</para>
261
262 <para>This package contains a very nice text file viewer that
263 allows scrolling up or down when viewing a file. It is also used by
264 Man-DB for viewing manpages.</para>
265 </listitem>
266
267 <listitem>
268 <para>Libpipeline</para>
269
270 <para>The Libpipeline package contains a library for manipulating
271 pipelines of subprocesses in a flexible and convenient way. It is
272 required by the Man-DB package.</para>
273 </listitem>
274
275 <listitem>
276 <para>Libtool</para>
277
278 <para>This package contains the GNU generic library support
279 script. It wraps the complexity of using shared libraries in a
280 consistent, portable interface. It is needed by the test
281 suites in other LFS packages.</para>
282 </listitem>
283
284 <listitem>
285 <para>Linux Kernel</para>
286
287 <para>This package is the Operating System. It is the Linux in
288 the GNU/Linux environment.</para>
289 </listitem>
290
291 <listitem>
292 <para>M4</para>
293
294 <para>This package contains a general text macro processor useful
295 as a build tool for other programs.</para>
296 </listitem>
297
298 <listitem>
299 <para>Make</para>
300
301 <para>This package contains a program for directing the building
302 of packages. It is required by almost every package in LFS.</para>
303 </listitem>
304
305 <listitem>
306 <para>Man-DB</para>
307
308 <para>This package contains programs for finding and viewing man pages.
309 It was chosen instead of the <application>man</application> package
310 due to superior internationalization capabilities. It supplies
311 the man program.</para>
312 </listitem>
313
314 <listitem>
315 <para>Man-pages</para>
316
317 <para>This package contains the actual contents of the basic
318 Linux man pages.</para>
319 </listitem>
320
321 <listitem>
322 <para>MPC</para>
323
324 <para>This package contains functions for the arithmetic of complex
325 numbers. It is required by Gcc.</para>
326 </listitem>
327
328 <listitem>
329 <para>MPFR</para>
330
331 <para>This package contains functions for multiple precision
332 arithmetic. It is required by Gcc.</para>
333 </listitem>
334
335 <listitem>
336 <para>Ncurses</para>
337
338 <para>This package contains libraries for terminal-independent
339 handling of character screens. It is often used to provide
340 cursor control for a menuing system. It is needed by a number of
341 packages in LFS.</para>
342 </listitem>
343
344 <listitem>
345 <para>Patch</para>
346
347 <para>This package contains a program for modifying or creating files by
348 applying a <emphasis>patch</emphasis> file typically created
349 by the <application>diff</application> program. It is needed by
350 the build procedure for several LFS packages.</para>
351 </listitem>
352
353 <listitem>
354 <para>Perl</para>
355
356 <para>This package is an interpreter for the runtime language
357 PERL. It is needed for the installation and test suites of several LFS
358 packages.</para>
359 </listitem>
360
361 <listitem>
362 <para>Pkg-config</para>
363
364 <para>This package provides a program to return meta-data about an
365 installed library or package.</para>
366 </listitem>
367
368 <listitem>
369 <para>Procps-NG</para>
370
371 <para>This package contains programs for monitoring processes. These
372 programs are useful for system administration, and are also used by
373 the LFS Bootscripts.</para>
374 </listitem>
375
376 <listitem>
377 <para>Psmisc</para>
378
379 <para>This package contains programs for displaying information
380 about running processes. These programs are useful for system
381 administration.</para>
382 </listitem>
383
384 <listitem>
385 <para>Readline</para>
386
387 <para>This package is a set of libraries that offers command-line
388 editing and history capabilities. It is used by Bash.</para>
389 </listitem>
390
391 <listitem>
392 <para>Sed</para>
393
394 <para>This package allows editing of text without opening it in a
395 text editor. It is also needed by most LFS packages' configure
396 scripts.</para>
397 </listitem>
398
399 <listitem>
400 <para>Shadow</para>
401
402 <para>This package contains programs for handling passwords
403 in a secure way.</para>
404 </listitem>
405
406 <listitem>
407 <para>Sysklogd</para>
408
409 <para>This package contains programs for logging system messages,
410 such as those given by the kernel or daemon processes when unusual
411 events occur.</para>
412 </listitem>
413
414 <listitem>
415 <para>Sysvinit</para>
416
417 <para>This package provides the <application>init</application>
418 program, which is the parent of all other processes on the Linux
419 system. </para>
420 </listitem>
421
422 <listitem>
423 <para>Tar</para>
424
425 <para>This package provides archiving and extraction capabilities
426 of virtually all packages used in LFS.</para>
427 </listitem>
428
429 <listitem>
430 <para>Tcl</para>
431
432 <para>This package contains the Tool Command Language used
433 in many test suites in LFS packages. It is only installed in
434 the temporary toolchain.</para>
435 </listitem>
436
437 <listitem>
438 <para>Texinfo</para>
439
440 <para>This package contains programs for reading, writing, and
441 converting info pages. It is used in the installation
442 procedures of many LFS packages.</para>
443 </listitem>
444
445 <listitem>
446 <para>Udev</para>
447
448 <para>This package contains programs for dynamic creation of
449 device nodes. It is an alternative to creating thousands of
450 static devices in the /dev directory.</para>
451 </listitem>
452
453 <listitem>
454 <para>Util-linux</para>
455
456 <para>This package contains miscellaneous utility programs.
457 Among them are utilities for handling file systems, consoles,
458 partitions, and messages.</para>
459 </listitem>
460
461 <listitem>
462 <para>Vim</para>
463
464 <para>This package contains an editor. It was chosen because of its
465 compatibility with the classic vi editor and its huge number of powerful
466 capabilities. An editor is a very personal choice for
467 many users and any other editor could be substituted if desired.</para>
468 </listitem>
469
470 <listitem>
471 <para>XZ Utils</para>
472
473 <para>This package contains programs for compressing and decompressing
474 files. It provides the highest compression generally available
475 and is useful for decompressing packages XZ or LZMA format.</para>
476 </listitem>
477
478 <listitem>
479 <para>Zlib</para>
480
481 <para>This package contains compression and decompression routines
482 used by some programs.</para>
483 </listitem>
484
485 </itemizedlist>
486
487</sect1>
488
Note: See TracBrowser for help on using the repository browser.