source: prologue/why.xml@ ad1ccc7

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

Typos and minor text changes

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

  • Property mode set to 100644
File size: 18.6 KB
RevLine 
[a26951e]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
[2ca8941]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
[c6d5b092]15 itself while providing a relatively minimal base from which to customize
[a26951e]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
[a139c25]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
[a26951e]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
[1c72dda]63 capabilities beyond basic shell functions.</para>
[a26951e]64 </listitem>
65
[25d0483]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
[a26951e]73 <listitem>
74 <para>Binutils</para>
75
[2ca8941]76 <para>This package contains a linker, an assembler, and other
[1c72dda]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>
[a26951e]79 </listitem>
80
81 <listitem>
82 <para>Bison</para>
83
84 <para>This package contains the GNU version of yacc (Yet Another
[1c72dda]85 Compiler Compiler) needed to build several other LFS programs.</para>
[a26951e]86 </listitem>
87
88 <listitem>
89 <para>Bzip2</para>
90
[2ca8941]91 <para>This package contains programs for compressing and decompressing
[a26951e]92 files. It is required to decompress many LFS packages.</para>
93 </listitem>
94
[5870a98]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
[a26951e]102 <listitem>
103 <para>Coreutils</para>
104
[2ca8941]105 <para>This package contains a number of essential programs for viewing
[1c72dda]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>
[a26951e]109 </listitem>
[e787b1f]110
111 <listitem revision="systemd">
[a139c25]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>
[e787b1f]118
[a26951e]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
[2ca8941]129 <para>This package contains programs that show the differences
[1c72dda]130 between files or directories. These programs can be used to create
131 patches, and are also used in many packages' build procedures.</para>
[a26951e]132 </listitem>
133
[c1ec480]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
[e787b1f]142 <listitem revision="sysv">
[b3eb525]143 <para>Eudev</para>
144
145 <para>This package is a device manager. It dynamically controls the entries
146 in the /dev directory as devices are added or removed from the system.
147 </para>
148 </listitem>
149
[a139c25]150 <listitem>
151 <para>Expat</para>
152
[9ec4436]153 <para>This package contains a relatively small XML parsing library. It
154 is required by the XML::Parser Perl module.</para>
[a139c25]155 </listitem>
156
[a26951e]157 <listitem>
158 <para>Expect</para>
159
[2ca8941]160 <para>This package contains a program for carrying out scripted
[a26951e]161 dialogues with other interactive programs. It is commonly used
[2ca8941]162 for testing other packages. It is only installed in the temporary
[a26951e]163 toolchain.</para>
164 </listitem>
165
166 <listitem>
167 <para>File</para>
168
[2ca8941]169 <para>This package contains a utility for determining the type of a
[1c72dda]170 given file or files. A few packages need it to build.</para>
[a26951e]171 </listitem>
172
173 <listitem>
174 <para>Findutils</para>
175
[1c72dda]176 <para>This package contains programs to find files in a file system.
177 It is used in many packages' build scripts.</para>
[a26951e]178 </listitem>
179
180 <listitem>
181 <para>Flex</para>
182
[2ca8941]183 <para>This package contains a utility for generating programs that
184 recognize patterns in text. It is the GNU version of the lex
185 (lexical analyzer) program. It is required to build several
[1c72dda]186 LFS packages.</para>
[a26951e]187 </listitem>
188
189 <listitem>
190 <para>Gawk</para>
191
192 <para>This package contains programs for manipulating text files.
[1c72dda]193 It is the GNU version of awk (Aho-Weinberg-Kernighan). It is used in
194 many other packages' build scripts.</para>
[a26951e]195 </listitem>
196
197 <listitem>
198 <para>Gcc</para>
199
[2ca8941]200 <para>This package is the Gnu Compiler Collection. It contains the
201 C and C++ compilers as well as several others not built by LFS.
[a26951e]202 </para>
203 </listitem>
204
205 <listitem>
206 <para>GDBM</para>
207
208 <para>This package contains the GNU Database Manager library. It
[1c72dda]209 is used by one other LFS package, Man-DB.</para>
[a26951e]210 </listitem>
211
212 <listitem>
213 <para>Gettext</para>
214
[2ca8941]215 <para>This package contains utilities and libraries for
[1c72dda]216 internationalization and localization of numerous packages.</para>
[a26951e]217 </listitem>
218
219 <listitem>
220 <para>Glibc</para>
221
222 <para>This package contains the main C library. Linux programs would
[1c72dda]223 not run without it.</para>
[a26951e]224 </listitem>
225
226 <listitem>
227 <para>GMP</para>
228
[9ec9c03]229 <para>This package contains math libraries that provide useful functions
230 for arbitrary precision arithmetic. It is required to build Gcc.</para>
[a26951e]231 </listitem>
232
[a139c25]233 <listitem>
234 <para>Gperf</para>
235
[9ec4436]236 <para>This package contains a program that generates a perfect hash
237 function from a key set. It is required for Eudev.</para>
[a139c25]238 </listitem>
239
[a26951e]240 <listitem>
241 <para>Grep</para>
242
[1c72dda]243 <para>This package contains programs for searching through files. These
244 programs are used by most packages' build scripts.</para>
[a26951e]245 </listitem>
246
247 <listitem>
248 <para>Groff</para>
249
250 <para>This package contains programs for processing and formatting text.
[1c72dda]251 One important function of these programs is to format man pages.</para>
[a26951e]252 </listitem>
253
254 <listitem>
255 <para>GRUB</para>
256
[2ca8941]257 <para>This package is the Grand Unified Boot Loader. It is one
[a26951e]258 of several boot loaders available, but is the most flexible.
259 </para>
260 </listitem>
261
262 <listitem>
263 <para>Gzip</para>
264
[2ca8941]265 <para>This package contains programs for compressing and
[1c72dda]266 decompressing files. It is needed to decompress many packages in LFS
267 and beyond.</para>
[a26951e]268 </listitem>
269
270 <listitem>
271 <para>Iana-etc</para>
272
273 <para>This package provides data for network services and protocols.
[1c72dda]274 It is needed to enable proper networking capabilities.</para>
[a26951e]275 </listitem>
276
277 <listitem>
278 <para>Inetutils</para>
279
[2ca8941]280 <para>This package contains programs for basic network
[1c72dda]281 administration.</para>
[a26951e]282 </listitem>
283
[a139c25]284 <listitem>
285 <para>Intltool</para>
286
287 <para>This package contains tools for extracting translatable
288 strings from source files.</para>
289 </listitem>
290
[a26951e]291 <listitem>
292 <para>IProute2</para>
293
294 <para>This package contains programs for basic and advanced IPv4 and
295 IPv6 networking. It was chosen over the other common network
296 tools package (net-tools) for its IPv6 capabilities. </para>
297 </listitem>
298
299 <listitem>
300 <para>Kbd</para>
301
[1c72dda]302 <para>This package contains key-table files, keyboard utilities
303 for non-US keyboards, and a number of console fonts.</para>
[a26951e]304 </listitem>
305
[46b7d91]306 <listitem>
307 <para>Kmod</para>
308
309 <para>This package contains programs needed to administer Linux
310 kernel modules.</para>
311 </listitem>
312
[a26951e]313 <listitem>
314 <para>Less</para>
315
316 <para>This package contains a very nice text file viewer that
[1c72dda]317 allows scrolling up or down when viewing a file. It is also used by
318 Man-DB for viewing manpages.</para>
[a26951e]319 </listitem>
320
[a139c25]321 <listitem>
322 <para>Libcap</para>
323
324 <para>This package implements the user-space interfaces to
325 the POSIX 1003.1e capabilities available in Linux kernels.
326 </para>
327 </listitem>
328
[b0aabe0]329 <listitem>
330 <para>Libffi</para>
331
332 <para>This package implements a portable, high level programming
333 interface to various calling conventions. Some programs may not know
334 at the time of compilation what arguments are to be passed to a
335 function. For instance, an interpreter may be told at run-time about
336 the number and types of arguments used to call a given function. Libffi
337 can be used in such programs to provide a bridge from the interpreter
338 program to compiled code.</para>
339
340 </listitem>
341
[c1ec480]342 <listitem>
343 <para>Libpipeline</para>
344
345 <para>The Libpipeline package contains a library for manipulating
346 pipelines of subprocesses in a flexible and convenient way. It is
347 required by the Man-DB package.</para>
348 </listitem>
349
[a26951e]350 <listitem>
351 <para>Libtool</para>
352
[2ca8941]353 <para>This package contains the GNU generic library support
354 script. It wraps the complexity of using shared libraries in a
[a26951e]355 consistent, portable interface. It is needed by the test
[1c72dda]356 suites in other LFS packages.</para>
[a26951e]357 </listitem>
358
359 <listitem>
360 <para>Linux Kernel</para>
361
362 <para>This package is the Operating System. It is the Linux in
[1c72dda]363 the GNU/Linux environment.</para>
[a26951e]364 </listitem>
365
366 <listitem>
367 <para>M4</para>
368
369 <para>This package contains a general text macro processor useful
[1c72dda]370 as a build tool for other programs.</para>
[a26951e]371 </listitem>
372
373 <listitem>
374 <para>Make</para>
375
376 <para>This package contains a program for directing the building
[1c72dda]377 of packages. It is required by almost every package in LFS.</para>
[a26951e]378 </listitem>
379
380 <listitem>
381 <para>Man-DB</para>
382
383 <para>This package contains programs for finding and viewing man pages.
384 It was chosen instead of the <application>man</application> package
385 due to superior internationalization capabilities. It supplies
[1c72dda]386 the man program.</para>
[a26951e]387 </listitem>
388
389 <listitem>
390 <para>Man-pages</para>
391
392 <para>This package contains the actual contents of the basic
[1c72dda]393 Linux man pages.</para>
[a26951e]394 </listitem>
395
[b0aabe0]396 <listitem>
397 <para>Meson</para>
398
399 <para>This package provides a software tool for automating the building
400 of software. The main goal for Meson is to minimize the amount of time
401 that software developers need to spend configuring their build
402 system.</para>
403
404 </listitem>
405
[1c72dda]406 <listitem>
407 <para>MPC</para>
408
409 <para>This package contains functions for the arithmetic of complex
410 numbers. It is required by Gcc.</para>
411 </listitem>
412
[a26951e]413 <listitem>
414 <para>MPFR</para>
415
[2ca8941]416 <para>This package contains functions for multiple precision
[1c72dda]417 arithmetic. It is required by Gcc.</para>
[a26951e]418 </listitem>
419
[b0aabe0]420 <listitem>
421 <para>Ninja</para>
422
423 <para>This package contains a small build system with a focus on speed.
424 It is designed to have its input files generated by a higher-level build
425 system, and to run builds as fast as possible.</para>
426
427 </listitem>
428
[a26951e]429 <listitem>
430 <para>Ncurses</para>
431
[2ca8941]432 <para>This package contains libraries for terminal-independent
433 handling of character screens. It is often used to provide
[1c72dda]434 cursor control for a menuing system. It is needed by a number of
435 packages in LFS.</para>
[a26951e]436 </listitem>
437
[b55310e]438 <listitem>
439 <para>Openssl</para>
440
441 <para>This package provides management tools and libraries relating to
442 cryptography. These are useful for providing cryptographic functions to
443 other packages, including the Linux kernel.</para>
444 </listitem>
445
[a26951e]446 <listitem>
447 <para>Patch</para>
448
[12c82b50]449 <para>This package contains a program for modifying or creating files by
[2ca8941]450 applying a <emphasis>patch</emphasis> file typically created
[a26951e]451 by the <application>diff</application> program. It is needed by
[1c72dda]452 the build procedure for several LFS packages.</para>
[a26951e]453 </listitem>
[5b62b8d]454
[a26951e]455 <listitem>
456 <para>Perl</para>
457
458 <para>This package is an interpreter for the runtime language
[0ebe029b]459 PERL. It is needed for the installation and test suites of several LFS
[1c72dda]460 packages.</para>
[a26951e]461 </listitem>
462
[450e682e]463 <listitem>
464 <para>Pkg-config</para>
465
[2ca8941]466 <para>This package provides a program to return meta-data about an
[450e682e]467 installed library or package.</para>
468 </listitem>
469
470 <listitem>
[c1ec480]471 <para>Procps-NG</para>
[a26951e]472
[1c72dda]473 <para>This package contains programs for monitoring processes. These
474 programs are useful for system administration, and are also used by
475 the LFS Bootscripts.</para>
[a26951e]476 </listitem>
477
478 <listitem>
479 <para>Psmisc</para>
480
[2ca8941]481 <para>This package contains programs for displaying information
[1c72dda]482 about running processes. These programs are useful for system
483 administration.</para>
[a26951e]484 </listitem>
485
[b0aabe0]486 <listitem>
487 <para>Python 3</para>
488
489 <para>This package provides an interpreted language that has a design
490 philosophy that emphasizes code readability.</para>
491
492 </listitem>
493
[a26951e]494 <listitem>
495 <para>Readline</para>
496
[2ca8941]497 <para>This package is a set of libraries that offers command-line
[1c72dda]498 editing and history capabilities. It is used by Bash.</para>
[a26951e]499 </listitem>
500
501 <listitem>
502 <para>Sed</para>
503
[2ca8941]504 <para>This package allows editing of text without opening it in a
505 text editor. It is also needed by most LFS packages' configure
[1c72dda]506 scripts.</para>
[a26951e]507 </listitem>
508
509 <listitem>
510 <para>Shadow</para>
511
[2ca8941]512 <para>This package contains programs for handling passwords
[a26951e]513 in a secure way.</para>
514 </listitem>
515
[e787b1f]516 <listitem revision="sysv">
[a26951e]517 <para>Sysklogd</para>
518
[2ca8941]519 <para>This package contains programs for logging system messages,
520 such as those given by the kernel or daemon processes when unusual
[1c72dda]521 events occur.</para>
[a26951e]522 </listitem>
[e787b1f]523
524 <listitem revision="systemd">
[a139c25]525 <para>Systemd</para>
526
[ad1ccc7]527 <para>This package provides an <application>init</application> program
[edbeeb5]528 and several additional boot and system control capabilities as an
[a139c25]529 alternative to Sysvinit. It is used by many commercial distributions.
[3656105]530 </para>
[a139c25]531 </listitem>
[e787b1f]532
533 <listitem revision="sysv">
[a26951e]534 <para>Sysvinit</para>
535
536 <para>This package provides the <application>init</application>
[12c82b50]537 program, which is the parent of all other processes on the Linux
[a26951e]538 system. </para>
539 </listitem>
540
541 <listitem>
542 <para>Tar</para>
543
544 <para>This package provides archiving and extraction capabilities
[1c72dda]545 of virtually all packages used in LFS.</para>
[a26951e]546 </listitem>
547
548 <listitem>
549 <para>Tcl</para>
550
551 <para>This package contains the Tool Command Language used
[2ca8941]552 in many test suites in LFS packages. It is only installed in
[1c72dda]553 the temporary toolchain.</para>
[a26951e]554 </listitem>
555
556 <listitem>
557 <para>Texinfo</para>
558
[2ca8941]559 <para>This package contains programs for reading, writing, and
560 converting info pages. It is used in the installation
[1c72dda]561 procedures of many LFS packages.</para>
[a26951e]562 </listitem>
563
564 <listitem>
[e1428f3]565 <para>Util-linux</para>
[a26951e]566
[2ca8941]567 <para>This package contains miscellaneous utility programs.
568 Among them are utilities for handling file systems, consoles,
[1c72dda]569 partitions, and messages.</para>
[a26951e]570 </listitem>
571
572 <listitem>
573 <para>Vim</para>
574
[c6d5b092]575 <para>This package contains an editor. It was chosen because of its
576 compatibility with the classic vi editor and its huge number of powerful
[a26951e]577 capabilities. An editor is a very personal choice for
[1c72dda]578 many users and any other editor could be substituted if desired.</para>
[a26951e]579 </listitem>
[bf2bd25]580
[a139c25]581 <listitem>
582 <para>XML::Parser</para>
583
584 <para>This package is a Perl module that interfaces with Expat.</para>
585 </listitem>
[bf2bd25]586
[7002213]587 <listitem>
588 <para>XZ Utils</para>
589
[2ca8941]590 <para>This package contains programs for compressing and decompressing
[7002213]591 files. It provides the highest compression generally available
[62b7a34]592 and is useful for decompressing packages in XZ or LZMA format.</para>
[7002213]593 </listitem>
594
[a26951e]595 <listitem>
596 <para>Zlib</para>
597
[2ca8941]598 <para>This package contains compression and decompression routines
[1c72dda]599 used by some programs.</para>
[a26951e]600 </listitem>
601
602 </itemizedlist>
603
604</sect1>
605
Note: See TracBrowser for help on using the repository browser.