source: prologue/why.xml@ c4108e5

multilib
Last change on this file since c4108e5 was ac90ea8, checked in by Xi Ruoyao <xry111@…>, 11 months ago

package choices: Fix a typo

Reported-by: rhubarbpieguy <rhubarbpieguy@…>

  • Property mode set to 100644
File size: 20.4 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
[62a598f]13 <para>The goal of LFS is to build a complete and usable
14 foundation-level system&mdash;including all the packages needed to replicate
15 itself&mdash;and providing a relatively minimal base from which to customize
16 a more complete system based on the user's choices. This does not
[a26951e]17 mean that LFS is the smallest system possible. Several important packages
[62a598f]18 are included that are not, strictly speaking, required. The list below documents the
19 reasons each package in the book has been included.</para>
[a26951e]20
21 <itemizedlist>
22
[a139c25]23 <listitem>
24 <para>Acl</para>
25
[08ee81f]26 <para>This package contains utilities to administer Access
[62a598f]27 Control Lists, which are used to define fine-grained
[08ee81f]28 discretionary access rights for files and directories.
[a139c25]29 </para>
30 </listitem>
31
32 <listitem>
33 <para>Attr</para>
34
[62a598f]35 <para>This package contains programs for managing
36 extended attributes on file system objects.
[a139c25]37 </para>
38 </listitem>
39
[a26951e]40 <listitem>
41 <para>Autoconf</para>
42
[62a598f]43 <para>This package supplies programs for producing shell scripts that
[a26951e]44 can automatically configure source code from a developer's
[62a598f]45 template. It is often needed to rebuild a package after
46 the build procedure has been updated.</para>
[a26951e]47 </listitem>
48
49 <listitem>
50 <para>Automake</para>
51
52 <para>This package contains programs for generating Make files from
[62a598f]53 a template. It is often needed to rebuild a package after
54 the build procedure has been updated.</para>
[a26951e]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
[62a598f]63 capabilities.</para>
[a26951e]64 </listitem>
65
[25d0483]66 <listitem>
67 <para>Bc</para>
68
[08ee81f]69 <para>This package provides an arbitrary precision numeric processing language.
[62a598f]70 It satisfies a requirement for building the Linux kernel.</para>
[25d0483]71 </listitem>
72
[a26951e]73 <listitem>
74 <para>Binutils</para>
75
[62a598f]76 <para>This package supplies a linker, an assembler, and other
[1c72dda]77 tools for handling object files. The programs in this package are
[62a598f]78 needed to compile most of the packages in an LFS system.</para>
[a26951e]79 </listitem>
80
81 <listitem>
82 <para>Bison</para>
83
84 <para>This package contains the GNU version of yacc (Yet Another
[62a598f]85 Compiler Compiler) needed to build several of the 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
[62a598f]98 <para>This package provides a test harness for other programs.</para>
[5870a98]99 </listitem>
100
[a26951e]101 <listitem>
102 <para>Coreutils</para>
103
[2ca8941]104 <para>This package contains a number of essential programs for viewing
[1c72dda]105 and manipulating files and directories. These programs are needed for
106 command line file management, and are necessary for the installation
107 procedures of every package in LFS.</para>
[a26951e]108 </listitem>
[e787b1f]109
110 <listitem revision="systemd">
[a139c25]111 <para>D-Bus</para>
112
[08ee81f]113 <para>This package contains programs to implement a message bus system,
[62a598f]114 a simple way for applications to talk to one another.
[a139c25]115 </para>
116 </listitem>
[e787b1f]117
[a26951e]118 <listitem>
119 <para>DejaGNU</para>
120
[62a598f]121 <para>This package supplies a framework for testing other programs.</para>
[a26951e]122 </listitem>
123
124 <listitem>
125 <para>Diffutils</para>
126
[2ca8941]127 <para>This package contains programs that show the differences
[1c72dda]128 between files or directories. These programs can be used to create
129 patches, and are also used in many packages' build procedures.</para>
[a26951e]130 </listitem>
131
[c1ec480]132 <listitem>
133 <para>E2fsprogs</para>
134
[62a598f]135 <para>This package supplies utilities for handling the ext2, ext3
[c1ec480]136 and ext4 file systems. These are the most common and thoroughly
137 tested file systems that Linux supports.</para>
138 </listitem>
139
[a139c25]140 <listitem>
141 <para>Expat</para>
142
[62a598f]143 <para>This package yields a relatively small XML parsing library. It
[9ec4436]144 is required by the XML::Parser Perl module.</para>
[a139c25]145 </listitem>
146
[a26951e]147 <listitem>
148 <para>Expect</para>
149
[2ca8941]150 <para>This package contains a program for carrying out scripted
[a26951e]151 dialogues with other interactive programs. It is commonly used
[660d70a]152 for testing other packages.</para>
[a26951e]153 </listitem>
154
155 <listitem>
156 <para>File</para>
157
[2ca8941]158 <para>This package contains a utility for determining the type of a
[493d6b5]159 given file or files. A few packages need it in their build scripts.</para>
[a26951e]160 </listitem>
161
162 <listitem>
163 <para>Findutils</para>
164
[62a598f]165 <para>This package provides programs to find files in a file system.
[1c72dda]166 It is used in many packages' build scripts.</para>
[a26951e]167 </listitem>
168
169 <listitem>
170 <para>Flex</para>
171
[2ca8941]172 <para>This package contains a utility for generating programs that
173 recognize patterns in text. It is the GNU version of the lex
174 (lexical analyzer) program. It is required to build several
[1c72dda]175 LFS packages.</para>
[a26951e]176 </listitem>
177
178 <listitem>
179 <para>Gawk</para>
180
[62a598f]181 <para>This package supplies programs for manipulating text files.
[1c72dda]182 It is the GNU version of awk (Aho-Weinberg-Kernighan). It is used in
183 many other packages' build scripts.</para>
[a26951e]184 </listitem>
185
186 <listitem>
[ea7ec72]187 <para>GCC</para>
[a26951e]188
[62a598f]189 <para>This is the Gnu Compiler Collection. It contains the
[2ca8941]190 C and C++ compilers as well as several others not built by LFS.
[a26951e]191 </para>
192 </listitem>
193
194 <listitem>
195 <para>GDBM</para>
196
197 <para>This package contains the GNU Database Manager library. It
[1c72dda]198 is used by one other LFS package, Man-DB.</para>
[a26951e]199 </listitem>
200
201 <listitem>
202 <para>Gettext</para>
203
[62a598f]204 <para>This package provides utilities and libraries for
205 the internationalization and localization of many packages.</para>
[a26951e]206 </listitem>
207
208 <listitem>
209 <para>Glibc</para>
210
[493d6b5]211 <para>This package contains the main C library. Linux programs will
[1c72dda]212 not run without it.</para>
[a26951e]213 </listitem>
214
215 <listitem>
216 <para>GMP</para>
217
[62a598f]218 <para>This package supplies math libraries that provide useful functions
219 for arbitrary precision arithmetic. It is needed to build GCC.</para>
[a26951e]220 </listitem>
221
[a139c25]222 <listitem>
223 <para>Gperf</para>
224
[62a598f]225 <para>This package produces a program that generates a perfect hash
[72523a13]226 function from a set of keys. It is required by
[b1774158]227 <phrase revision='sysv'>Udev</phrase>
[72523a13]228 <phrase revision='systemd'>Systemd</phrase>.</para>
[a139c25]229 </listitem>
230
[a26951e]231 <listitem>
232 <para>Grep</para>
233
[1c72dda]234 <para>This package contains programs for searching through files. These
235 programs are used by most packages' build scripts.</para>
[a26951e]236 </listitem>
237
238 <listitem>
239 <para>Groff</para>
240
[62a598f]241 <para>This package contributes programs for processing and formatting text.
[1c72dda]242 One important function of these programs is to format man pages.</para>
[a26951e]243 </listitem>
244
245 <listitem>
246 <para>GRUB</para>
247
[62a598f]248 <para>This is the Grand Unified Boot Loader. It is
249 the most flexible of several boot loaders available.
[a26951e]250 </para>
251 </listitem>
252
253 <listitem>
254 <para>Gzip</para>
255
[2ca8941]256 <para>This package contains programs for compressing and
[62a598f]257 decompressing files. It is needed to decompress many packages
258 in LFS.</para>
[a26951e]259 </listitem>
260
261 <listitem>
262 <para>Iana-etc</para>
263
264 <para>This package provides data for network services and protocols.
[1c72dda]265 It is needed to enable proper networking capabilities.</para>
[a26951e]266 </listitem>
267
268 <listitem>
269 <para>Inetutils</para>
270
[62a598f]271 <para>This package supplies programs for basic network
[1c72dda]272 administration.</para>
[a26951e]273 </listitem>
274
[a139c25]275 <listitem>
276 <para>Intltool</para>
277
[62a598f]278 <para>This package contributes tools for extracting translatable
[a139c25]279 strings from source files.</para>
280 </listitem>
281
[a26951e]282 <listitem>
283 <para>IProute2</para>
284
285 <para>This package contains programs for basic and advanced IPv4 and
286 IPv6 networking. It was chosen over the other common network
287 tools package (net-tools) for its IPv6 capabilities. </para>
288 </listitem>
289
[e182fa3]290 <listitem revision="systemd">
291 <para>Jinja2</para>
292
293 <para>This package is a Python module for text templating.
294 It's required to build Systemd.</para>
295 </listitem>
296
[a26951e]297 <listitem>
298 <para>Kbd</para>
299
[62a598f]300 <para>This package produces key-table files, keyboard utilities
[1c72dda]301 for non-US keyboards, and a number of console fonts.</para>
[a26951e]302 </listitem>
303
[46b7d91]304 <listitem>
305 <para>Kmod</para>
306
[62a598f]307 <para>This package supplies programs needed to administer Linux
[46b7d91]308 kernel modules.</para>
309 </listitem>
310
[a26951e]311 <listitem>
312 <para>Less</para>
313
314 <para>This package contains a very nice text file viewer that
[a1cf444]315 allows scrolling up or down when viewing a file.
316 Many packages use it for paging the output.</para>
[a26951e]317 </listitem>
318
[a139c25]319 <listitem>
320 <para>Libcap</para>
321
[7ae2811]322 <para>This package implements the userspace interfaces to
[08ee81f]323 the POSIX 1003.1e capabilities available in Linux kernels.
[a139c25]324 </para>
325 </listitem>
326
[df9fd82]327 <listitem>
328 <para>Libelf</para>
329
330 <para>The elfutils project provides libraries and tools for ELF files
331 and DWARF data. Most utilities in this package are available in
332 other packages, but the library is needed to build the Linux
333 kernel using the default (and most efficient) configuration.</para>
334
335 </listitem>
336
[b0aabe0]337 <listitem>
338 <para>Libffi</para>
339
340 <para>This package implements a portable, high level programming
341 interface to various calling conventions. Some programs may not know
342 at the time of compilation what arguments are to be passed to a
343 function. For instance, an interpreter may be told at run-time about
344 the number and types of arguments used to call a given function. Libffi
345 can be used in such programs to provide a bridge from the interpreter
346 program to compiled code.</para>
347
348 </listitem>
349
[c1ec480]350 <listitem>
351 <para>Libpipeline</para>
352
[62a598f]353 <para>The Libpipeline package supplies a library for manipulating
[c1ec480]354 pipelines of subprocesses in a flexible and convenient way. It is
355 required by the Man-DB package.</para>
356 </listitem>
357
[a26951e]358 <listitem>
359 <para>Libtool</para>
360
[2ca8941]361 <para>This package contains the GNU generic library support
[62a598f]362 script. It wraps the complexity of using shared libraries into a
[a26951e]363 consistent, portable interface. It is needed by the test
[1c72dda]364 suites in other LFS packages.</para>
[a26951e]365 </listitem>
366
[c727d7e7]367 <listitem>
368 <para>Libxcrypt</para>
369
370 <para>This package provides the
371 <systemitem class='library'>libcrypt</systemitem> library
372 needed by various packages (notably, Shadow) for hashing passwords.
373 It replaces the obsolete
[ac90ea8]374 <systemitem class='library'>libcrypt</systemitem> implementation in
[c727d7e7]375 Glibc.</para>
376 </listitem>
377
[a26951e]378 <listitem>
379 <para>Linux Kernel</para>
380
381 <para>This package is the Operating System. It is the Linux in
[1c72dda]382 the GNU/Linux environment.</para>
[a26951e]383 </listitem>
384
385 <listitem>
386 <para>M4</para>
387
[62a598f]388 <para>This package provides a general text macro processor useful
[1c72dda]389 as a build tool for other programs.</para>
[a26951e]390 </listitem>
391
392 <listitem>
393 <para>Make</para>
394
395 <para>This package contains a program for directing the building
[1c72dda]396 of packages. It is required by almost every package in LFS.</para>
[a26951e]397 </listitem>
398
[e182fa3]399 <listitem revision="systemd">
400 <para>MarkupSafe</para>
401
402 <para>This package is a Python module for processing strings in
[9904ecb]403 HTML/XHTML/XML safely. Jinja2 requires this package.</para>
[e182fa3]404 </listitem>
405
[a26951e]406 <listitem>
407 <para>Man-DB</para>
408
409 <para>This package contains programs for finding and viewing man pages.
410 It was chosen instead of the <application>man</application> package
[62a598f]411 because of its superior internationalization capabilities. It supplies
[1c72dda]412 the man program.</para>
[a26951e]413 </listitem>
414
415 <listitem>
416 <para>Man-pages</para>
417
[62a598f]418 <para>This package provides the actual contents of the basic
[1c72dda]419 Linux man pages.</para>
[a26951e]420 </listitem>
421
[b0aabe0]422 <listitem>
423 <para>Meson</para>
424
425 <para>This package provides a software tool for automating the building
[62a598f]426 of software. The main goal of Meson is to minimize the amount of time
427 that software developers need to spend configuring a build
[e182fa3]428 system. It's required to build Systemd, as well as many BLFS
429 packages.</para>
[b0aabe0]430
431 </listitem>
432
[1c72dda]433 <listitem>
434 <para>MPC</para>
435
[62a598f]436 <para>This package supplies arithmetic functions for complex
[ea7ec72]437 numbers. It is required by GCC.</para>
[1c72dda]438 </listitem>
439
[a26951e]440 <listitem>
441 <para>MPFR</para>
442
[2ca8941]443 <para>This package contains functions for multiple precision
[ea7ec72]444 arithmetic. It is required by GCC.</para>
[a26951e]445 </listitem>
446
[b0aabe0]447 <listitem>
448 <para>Ninja</para>
449
[62a598f]450 <para>This package furnishes a small build system with a focus on speed.
[b0aabe0]451 It is designed to have its input files generated by a higher-level build
[e182fa3]452 system, and to run builds as fast as possible.
453 This package is required by Meson.</para>
[b0aabe0]454
455 </listitem>
456
[a26951e]457 <listitem>
458 <para>Ncurses</para>
459
[2ca8941]460 <para>This package contains libraries for terminal-independent
461 handling of character screens. It is often used to provide
[1c72dda]462 cursor control for a menuing system. It is needed by a number of
[62a598f]463 the packages in LFS.</para>
[a26951e]464 </listitem>
465
[b55310e]466 <listitem>
467 <para>Openssl</para>
468
469 <para>This package provides management tools and libraries relating to
[62a598f]470 cryptography. These supply cryptographic functions to
[b55310e]471 other packages, including the Linux kernel.</para>
472 </listitem>
473
[a26951e]474 <listitem>
475 <para>Patch</para>
476
[12c82b50]477 <para>This package contains a program for modifying or creating files by
[2ca8941]478 applying a <emphasis>patch</emphasis> file typically created
[a26951e]479 by the <application>diff</application> program. It is needed by
[1c72dda]480 the build procedure for several LFS packages.</para>
[a26951e]481 </listitem>
[5b62b8d]482
[a26951e]483 <listitem>
484 <para>Perl</para>
485
486 <para>This package is an interpreter for the runtime language
[0ebe029b]487 PERL. It is needed for the installation and test suites of several LFS
[1c72dda]488 packages.</para>
[a26951e]489 </listitem>
490
[450e682e]491 <listitem>
[89375e2]492 <para>Pkgconf</para>
493
494 <para>This package contains a program which helps to configure
495 compiler and linker flags for development libraries. The program
496 can be used as a drop-in replacement of
497 <command>pkg-config</command>, which is needed by the building
498 system of many packages. It's maintained more actively and slightly
499 faster than the original Pkg-config package.</para>
[450e682e]500 </listitem>
501
502 <listitem>
[c1ec480]503 <para>Procps-NG</para>
[a26951e]504
[1c72dda]505 <para>This package contains programs for monitoring processes. These
506 programs are useful for system administration, and are also used by
507 the LFS Bootscripts.</para>
[a26951e]508 </listitem>
509
510 <listitem>
511 <para>Psmisc</para>
512
[62a598f]513 <para>This package produces programs for displaying information
[1c72dda]514 about running processes. These programs are useful for system
515 administration.</para>
[a26951e]516 </listitem>
517
[b0aabe0]518 <listitem>
519 <para>Python 3</para>
520
521 <para>This package provides an interpreted language that has a design
[62a598f]522 philosophy emphasizing code readability.</para>
[b0aabe0]523
524 </listitem>
525
[a26951e]526 <listitem>
527 <para>Readline</para>
528
[62a598f]529 <para>This package is a set of libraries that offer command-line
[1c72dda]530 editing and history capabilities. It is used by Bash.</para>
[a26951e]531 </listitem>
532
533 <listitem>
534 <para>Sed</para>
535
[2ca8941]536 <para>This package allows editing of text without opening it in a
[62a598f]537 text editor. It is also needed by many LFS packages' configure
[1c72dda]538 scripts.</para>
[a26951e]539 </listitem>
540
541 <listitem>
542 <para>Shadow</para>
543
[2ca8941]544 <para>This package contains programs for handling passwords
[62a598f]545 securely.</para>
[a26951e]546 </listitem>
547
[e787b1f]548 <listitem revision="sysv">
[a26951e]549 <para>Sysklogd</para>
550
[62a598f]551 <para>This package supplies programs for logging system messages,
552 such as those emitted by the kernel or daemon processes when unusual
[1c72dda]553 events occur.</para>
[a26951e]554 </listitem>
[e787b1f]555
556 <listitem revision="systemd">
[a139c25]557 <para>Systemd</para>
558
[ad1ccc7]559 <para>This package provides an <application>init</application> program
[edbeeb5]560 and several additional boot and system control capabilities as an
[62a598f]561 alternative to Sysvinit. It is used by many Linux distributions.
[3656105]562 </para>
[a139c25]563 </listitem>
[e787b1f]564
565 <listitem revision="sysv">
[a26951e]566 <para>Sysvinit</para>
567
568 <para>This package provides the <application>init</application>
[62a598f]569 program, the parent of all the other processes on a running Linux
[a26951e]570 system. </para>
571 </listitem>
572
[ca0bd6d]573 <listitem revision="sysv">
574 <para>Udev</para>
575
576 <para>This package is a device manager. It dynamically controls the
577 ownership, permissions, names, and symbolic links of device nodes in
578 the /dev directory when devices are added to or removed from the
579 system.</para>
580 </listitem>
581
[a26951e]582 <listitem>
583 <para>Tar</para>
584
585 <para>This package provides archiving and extraction capabilities
[62a598f]586 of virtually all the packages used in LFS.</para>
[a26951e]587 </listitem>
588
589 <listitem>
590 <para>Tcl</para>
591
592 <para>This package contains the Tool Command Language used
[62a598f]593 in many test suites.</para>
[a26951e]594 </listitem>
595
596 <listitem>
597 <para>Texinfo</para>
598
[62a598f]599 <para>This package supplies programs for reading, writing, and
[2ca8941]600 converting info pages. It is used in the installation
[1c72dda]601 procedures of many LFS packages.</para>
[a26951e]602 </listitem>
603
604 <listitem>
[e1428f3]605 <para>Util-linux</para>
[a26951e]606
[2ca8941]607 <para>This package contains miscellaneous utility programs.
608 Among them are utilities for handling file systems, consoles,
[1c72dda]609 partitions, and messages.</para>
[a26951e]610 </listitem>
611
612 <listitem>
613 <para>Vim</para>
614
[62a598f]615 <para>This package provides an editor. It was chosen because of its
[c6d5b092]616 compatibility with the classic vi editor and its huge number of powerful
[a26951e]617 capabilities. An editor is a very personal choice for
[62a598f]618 many users. Any other editor can be substituted, if you wish.</para>
619 </listitem>
620
621 <listitem>
622 <para>Wheel</para>
623
624 <para>This package supplies a Python module that is the
625 reference implementation of the Python wheel packaging standard.
626 </para>
[a26951e]627 </listitem>
[bf2bd25]628
[a139c25]629 <listitem>
630 <para>XML::Parser</para>
631
632 <para>This package is a Perl module that interfaces with Expat.</para>
633 </listitem>
[bf2bd25]634
[7002213]635 <listitem>
636 <para>XZ Utils</para>
637
[2ca8941]638 <para>This package contains programs for compressing and decompressing
[7002213]639 files. It provides the highest compression generally available
[62b7a34]640 and is useful for decompressing packages in XZ or LZMA format.</para>
[7002213]641 </listitem>
642
[a26951e]643 <listitem>
644 <para>Zlib</para>
645
[2ca8941]646 <para>This package contains compression and decompression routines
[1c72dda]647 used by some programs.</para>
[a26951e]648 </listitem>
649
[91c7fab6]650 <listitem>
651 <para>Zstd</para>
652
[62a598f]653 <para>This package supplies compression and decompression routines
[08ee81f]654 used by some programs. It provides high compression ratios and a very
[91c7fab6]655 wide range of compression / speed trade-offs.</para>
656 </listitem>
657
[a26951e]658 </itemizedlist>
659
660</sect1>
661
Note: See TracBrowser for help on using the repository browser.