source: prologue/why.xml@ e06bdbe2

12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc r11.3
Last change on this file since e06bdbe2 was 7ae2811, checked in by David Bryant <david@…>, 19 months ago

Standardize spelling of "userspace".

  • Property mode set to 100644
File size: 19.8 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
[e787b1f]140 <listitem revision="sysv">
[b3eb525]141 <para>Eudev</para>
142
[493d6b5]143 <para>This package is a device manager. It dynamically controls the ownership,
[d114dd3]144 permissions, names, and symbolic links of device nodes in the /dev directory when
[62a598f]145 devices are added to or removed from the system.
[b3eb525]146 </para>
147 </listitem>
148
[a139c25]149 <listitem>
150 <para>Expat</para>
151
[62a598f]152 <para>This package yields a relatively small XML parsing library. It
[9ec4436]153 is required by the XML::Parser Perl module.</para>
[a139c25]154 </listitem>
155
[a26951e]156 <listitem>
157 <para>Expect</para>
158
[2ca8941]159 <para>This package contains a program for carrying out scripted
[a26951e]160 dialogues with other interactive programs. It is commonly used
[660d70a]161 for testing other packages.</para>
[a26951e]162 </listitem>
163
164 <listitem>
165 <para>File</para>
166
[2ca8941]167 <para>This package contains a utility for determining the type of a
[493d6b5]168 given file or files. A few packages need it in their build scripts.</para>
[a26951e]169 </listitem>
170
171 <listitem>
172 <para>Findutils</para>
173
[62a598f]174 <para>This package provides programs to find files in a file system.
[1c72dda]175 It is used in many packages' build scripts.</para>
[a26951e]176 </listitem>
177
178 <listitem>
179 <para>Flex</para>
180
[2ca8941]181 <para>This package contains a utility for generating programs that
182 recognize patterns in text. It is the GNU version of the lex
183 (lexical analyzer) program. It is required to build several
[1c72dda]184 LFS packages.</para>
[a26951e]185 </listitem>
186
187 <listitem>
188 <para>Gawk</para>
189
[62a598f]190 <para>This package supplies programs for manipulating text files.
[1c72dda]191 It is the GNU version of awk (Aho-Weinberg-Kernighan). It is used in
192 many other packages' build scripts.</para>
[a26951e]193 </listitem>
194
195 <listitem>
[ea7ec72]196 <para>GCC</para>
[a26951e]197
[62a598f]198 <para>This is the Gnu Compiler Collection. It contains the
[2ca8941]199 C and C++ compilers as well as several others not built by LFS.
[a26951e]200 </para>
201 </listitem>
202
203 <listitem>
204 <para>GDBM</para>
205
206 <para>This package contains the GNU Database Manager library. It
[1c72dda]207 is used by one other LFS package, Man-DB.</para>
[a26951e]208 </listitem>
209
210 <listitem>
211 <para>Gettext</para>
212
[62a598f]213 <para>This package provides utilities and libraries for
214 the internationalization and localization of many packages.</para>
[a26951e]215 </listitem>
216
217 <listitem>
218 <para>Glibc</para>
219
[493d6b5]220 <para>This package contains the main C library. Linux programs will
[1c72dda]221 not run without it.</para>
[a26951e]222 </listitem>
223
224 <listitem>
225 <para>GMP</para>
226
[62a598f]227 <para>This package supplies math libraries that provide useful functions
228 for arbitrary precision arithmetic. It is needed to build GCC.</para>
[a26951e]229 </listitem>
230
[a139c25]231 <listitem>
232 <para>Gperf</para>
233
[62a598f]234 <para>This package produces a program that generates a perfect hash
[72523a13]235 function from a set of keys. It is required by
236 <phrase revision='sysv'>Eudev</phrase>
237 <phrase revision='systemd'>Systemd</phrase>.</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
[62a598f]250 <para>This package contributes 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
[62a598f]257 <para>This is the Grand Unified Boot Loader. It is
258 the most flexible of several boot loaders available.
[a26951e]259 </para>
260 </listitem>
261
262 <listitem>
263 <para>Gzip</para>
264
[2ca8941]265 <para>This package contains programs for compressing and
[62a598f]266 decompressing files. It is needed to decompress many packages
267 in LFS.</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
[62a598f]280 <para>This package supplies programs for basic network
[1c72dda]281 administration.</para>
[a26951e]282 </listitem>
283
[a139c25]284 <listitem>
285 <para>Intltool</para>
286
[62a598f]287 <para>This package contributes tools for extracting translatable
[a139c25]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
[e182fa3]299 <listitem revision="systemd">
300 <para>Jinja2</para>
301
302 <para>This package is a Python module for text templating.
303 It's required to build Systemd.</para>
304 </listitem>
305
[a26951e]306 <listitem>
307 <para>Kbd</para>
308
[62a598f]309 <para>This package produces key-table files, keyboard utilities
[1c72dda]310 for non-US keyboards, and a number of console fonts.</para>
[a26951e]311 </listitem>
312
[46b7d91]313 <listitem>
314 <para>Kmod</para>
315
[62a598f]316 <para>This package supplies programs needed to administer Linux
[46b7d91]317 kernel modules.</para>
318 </listitem>
319
[a26951e]320 <listitem>
321 <para>Less</para>
322
323 <para>This package contains a very nice text file viewer that
[a1cf444]324 allows scrolling up or down when viewing a file.
325 Many packages use it for paging the output.</para>
[a26951e]326 </listitem>
327
[a139c25]328 <listitem>
329 <para>Libcap</para>
330
[7ae2811]331 <para>This package implements the userspace interfaces to
[08ee81f]332 the POSIX 1003.1e capabilities available in Linux kernels.
[a139c25]333 </para>
334 </listitem>
335
[df9fd82]336 <listitem>
337 <para>Libelf</para>
338
339 <para>The elfutils project provides libraries and tools for ELF files
340 and DWARF data. Most utilities in this package are available in
341 other packages, but the library is needed to build the Linux
342 kernel using the default (and most efficient) configuration.</para>
343
344 </listitem>
345
[b0aabe0]346 <listitem>
347 <para>Libffi</para>
348
349 <para>This package implements a portable, high level programming
350 interface to various calling conventions. Some programs may not know
351 at the time of compilation what arguments are to be passed to a
352 function. For instance, an interpreter may be told at run-time about
353 the number and types of arguments used to call a given function. Libffi
354 can be used in such programs to provide a bridge from the interpreter
355 program to compiled code.</para>
356
357 </listitem>
358
[c1ec480]359 <listitem>
360 <para>Libpipeline</para>
361
[62a598f]362 <para>The Libpipeline package supplies a library for manipulating
[c1ec480]363 pipelines of subprocesses in a flexible and convenient way. It is
364 required by the Man-DB package.</para>
365 </listitem>
366
[a26951e]367 <listitem>
368 <para>Libtool</para>
369
[2ca8941]370 <para>This package contains the GNU generic library support
[62a598f]371 script. It wraps the complexity of using shared libraries into a
[a26951e]372 consistent, portable interface. It is needed by the test
[1c72dda]373 suites in other LFS packages.</para>
[a26951e]374 </listitem>
375
376 <listitem>
377 <para>Linux Kernel</para>
378
379 <para>This package is the Operating System. It is the Linux in
[1c72dda]380 the GNU/Linux environment.</para>
[a26951e]381 </listitem>
382
383 <listitem>
384 <para>M4</para>
385
[62a598f]386 <para>This package provides a general text macro processor useful
[1c72dda]387 as a build tool for other programs.</para>
[a26951e]388 </listitem>
389
390 <listitem>
391 <para>Make</para>
392
393 <para>This package contains a program for directing the building
[1c72dda]394 of packages. It is required by almost every package in LFS.</para>
[a26951e]395 </listitem>
396
[e182fa3]397 <listitem revision="systemd">
398 <para>MarkupSafe</para>
399
400 <para>This package is a Python module for processing strings in
[9904ecb]401 HTML/XHTML/XML safely. Jinja2 requires this package.</para>
[e182fa3]402 </listitem>
403
[a26951e]404 <listitem>
405 <para>Man-DB</para>
406
407 <para>This package contains programs for finding and viewing man pages.
408 It was chosen instead of the <application>man</application> package
[62a598f]409 because of its superior internationalization capabilities. It supplies
[1c72dda]410 the man program.</para>
[a26951e]411 </listitem>
412
413 <listitem>
414 <para>Man-pages</para>
415
[62a598f]416 <para>This package provides the actual contents of the basic
[1c72dda]417 Linux man pages.</para>
[a26951e]418 </listitem>
419
[b0aabe0]420 <listitem>
421 <para>Meson</para>
422
423 <para>This package provides a software tool for automating the building
[62a598f]424 of software. The main goal of Meson is to minimize the amount of time
425 that software developers need to spend configuring a build
[e182fa3]426 system. It's required to build Systemd, as well as many BLFS
427 packages.</para>
[b0aabe0]428
429 </listitem>
430
[1c72dda]431 <listitem>
432 <para>MPC</para>
433
[62a598f]434 <para>This package supplies arithmetic functions for complex
[ea7ec72]435 numbers. It is required by GCC.</para>
[1c72dda]436 </listitem>
437
[a26951e]438 <listitem>
439 <para>MPFR</para>
440
[2ca8941]441 <para>This package contains functions for multiple precision
[ea7ec72]442 arithmetic. It is required by GCC.</para>
[a26951e]443 </listitem>
444
[b0aabe0]445 <listitem>
446 <para>Ninja</para>
447
[62a598f]448 <para>This package furnishes a small build system with a focus on speed.
[b0aabe0]449 It is designed to have its input files generated by a higher-level build
[e182fa3]450 system, and to run builds as fast as possible.
451 This package is required by Meson.</para>
[b0aabe0]452
453 </listitem>
454
[a26951e]455 <listitem>
456 <para>Ncurses</para>
457
[2ca8941]458 <para>This package contains libraries for terminal-independent
459 handling of character screens. It is often used to provide
[1c72dda]460 cursor control for a menuing system. It is needed by a number of
[62a598f]461 the packages in LFS.</para>
[a26951e]462 </listitem>
463
[b55310e]464 <listitem>
465 <para>Openssl</para>
466
467 <para>This package provides management tools and libraries relating to
[62a598f]468 cryptography. These supply cryptographic functions to
[b55310e]469 other packages, including the Linux kernel.</para>
470 </listitem>
471
[a26951e]472 <listitem>
473 <para>Patch</para>
474
[12c82b50]475 <para>This package contains a program for modifying or creating files by
[2ca8941]476 applying a <emphasis>patch</emphasis> file typically created
[a26951e]477 by the <application>diff</application> program. It is needed by
[1c72dda]478 the build procedure for several LFS packages.</para>
[a26951e]479 </listitem>
[5b62b8d]480
[a26951e]481 <listitem>
482 <para>Perl</para>
483
484 <para>This package is an interpreter for the runtime language
[0ebe029b]485 PERL. It is needed for the installation and test suites of several LFS
[1c72dda]486 packages.</para>
[a26951e]487 </listitem>
488
[450e682e]489 <listitem>
490 <para>Pkg-config</para>
491
[493d6b5]492 <para>This package provides a program that returns meta-data about an
[450e682e]493 installed library or package.</para>
494 </listitem>
495
496 <listitem>
[c1ec480]497 <para>Procps-NG</para>
[a26951e]498
[1c72dda]499 <para>This package contains programs for monitoring processes. These
500 programs are useful for system administration, and are also used by
501 the LFS Bootscripts.</para>
[a26951e]502 </listitem>
503
504 <listitem>
505 <para>Psmisc</para>
506
[62a598f]507 <para>This package produces programs for displaying information
[1c72dda]508 about running processes. These programs are useful for system
509 administration.</para>
[a26951e]510 </listitem>
511
[b0aabe0]512 <listitem>
513 <para>Python 3</para>
514
515 <para>This package provides an interpreted language that has a design
[62a598f]516 philosophy emphasizing code readability.</para>
[b0aabe0]517
518 </listitem>
519
[a26951e]520 <listitem>
521 <para>Readline</para>
522
[62a598f]523 <para>This package is a set of libraries that offer command-line
[1c72dda]524 editing and history capabilities. It is used by Bash.</para>
[a26951e]525 </listitem>
526
527 <listitem>
528 <para>Sed</para>
529
[2ca8941]530 <para>This package allows editing of text without opening it in a
[62a598f]531 text editor. It is also needed by many LFS packages' configure
[1c72dda]532 scripts.</para>
[a26951e]533 </listitem>
534
535 <listitem>
536 <para>Shadow</para>
537
[2ca8941]538 <para>This package contains programs for handling passwords
[62a598f]539 securely.</para>
[a26951e]540 </listitem>
541
[e787b1f]542 <listitem revision="sysv">
[a26951e]543 <para>Sysklogd</para>
544
[62a598f]545 <para>This package supplies programs for logging system messages,
546 such as those emitted by the kernel or daemon processes when unusual
[1c72dda]547 events occur.</para>
[a26951e]548 </listitem>
[e787b1f]549
550 <listitem revision="systemd">
[a139c25]551 <para>Systemd</para>
552
[ad1ccc7]553 <para>This package provides an <application>init</application> program
[edbeeb5]554 and several additional boot and system control capabilities as an
[62a598f]555 alternative to Sysvinit. It is used by many Linux distributions.
[3656105]556 </para>
[a139c25]557 </listitem>
[e787b1f]558
559 <listitem revision="sysv">
[a26951e]560 <para>Sysvinit</para>
561
562 <para>This package provides the <application>init</application>
[62a598f]563 program, the parent of all the other processes on a running Linux
[a26951e]564 system. </para>
565 </listitem>
566
567 <listitem>
568 <para>Tar</para>
569
570 <para>This package provides archiving and extraction capabilities
[62a598f]571 of virtually all the packages used in LFS.</para>
[a26951e]572 </listitem>
573
574 <listitem>
575 <para>Tcl</para>
576
577 <para>This package contains the Tool Command Language used
[62a598f]578 in many test suites.</para>
[a26951e]579 </listitem>
580
581 <listitem>
582 <para>Texinfo</para>
583
[62a598f]584 <para>This package supplies programs for reading, writing, and
[2ca8941]585 converting info pages. It is used in the installation
[1c72dda]586 procedures of many LFS packages.</para>
[a26951e]587 </listitem>
588
589 <listitem>
[e1428f3]590 <para>Util-linux</para>
[a26951e]591
[2ca8941]592 <para>This package contains miscellaneous utility programs.
593 Among them are utilities for handling file systems, consoles,
[1c72dda]594 partitions, and messages.</para>
[a26951e]595 </listitem>
596
597 <listitem>
598 <para>Vim</para>
599
[62a598f]600 <para>This package provides an editor. It was chosen because of its
[c6d5b092]601 compatibility with the classic vi editor and its huge number of powerful
[a26951e]602 capabilities. An editor is a very personal choice for
[62a598f]603 many users. Any other editor can be substituted, if you wish.</para>
604 </listitem>
605
606 <listitem>
607 <para>Wheel</para>
608
609 <para>This package supplies a Python module that is the
610 reference implementation of the Python wheel packaging standard.
611 </para>
[a26951e]612 </listitem>
[bf2bd25]613
[a139c25]614 <listitem>
615 <para>XML::Parser</para>
616
617 <para>This package is a Perl module that interfaces with Expat.</para>
618 </listitem>
[bf2bd25]619
[7002213]620 <listitem>
621 <para>XZ Utils</para>
622
[2ca8941]623 <para>This package contains programs for compressing and decompressing
[7002213]624 files. It provides the highest compression generally available
[62b7a34]625 and is useful for decompressing packages in XZ or LZMA format.</para>
[7002213]626 </listitem>
627
[a26951e]628 <listitem>
629 <para>Zlib</para>
630
[2ca8941]631 <para>This package contains compression and decompression routines
[1c72dda]632 used by some programs.</para>
[a26951e]633 </listitem>
634
[91c7fab6]635 <listitem>
636 <para>Zstd</para>
637
[62a598f]638 <para>This package supplies compression and decompression routines
[08ee81f]639 used by some programs. It provides high compression ratios and a very
[91c7fab6]640 wide range of compression / speed trade-offs.</para>
641 </listitem>
642
[a26951e]643 </itemizedlist>
644
645</sect1>
646
Note: See TracBrowser for help on using the repository browser.