source: prologue/why.xml@ a139c25

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.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 a139c25 was a139c25, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Update rationale for programs needed by systemd.
Reword an explanation for specifying less for the perl pager.

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

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