source: prologue/why.xml@ c5d69ac

arm
Last change on this file since c5d69ac was e68c6d4, checked in by William Harrington <kb0iic@…>, 2 years ago

Add wheel-0.37.1 (Python module).

  • Property mode set to 100644
File size: 20.1 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
[08ee81f]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.
[a139c25]29 </para>
30 </listitem>
31
32 <listitem>
33 <para>Attr</para>
34
[08ee81f]35 <para>This package contains programs for administering
36 extended attributes on filesystem objects.
[a139c25]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
[08ee81f]69 <para>This package provides an arbitrary precision numeric processing language.
[25d0483]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
[7e18939]98 <para>This package contains 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,
[a139c25]114 which a simple way for applications to talk to one another.
115 </para>
116 </listitem>
[e787b1f]117
[a26951e]118 <listitem>
119 <para>DejaGNU</para>
120
[493d6b5]121 <para>This package contains 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
135 <para>This package contains the utilities for handling the ext2, ext3
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,
[08ee81f]144 permissions, names, and symbolic links of devices in the /dev directory as
[493d6b5]145 devices are added or removed from the system.
[b3eb525]146 </para>
147 </listitem>
148
[a139c25]149 <listitem>
150 <para>Expat</para>
151
[9ec4436]152 <para>This package contains a relatively small XML parsing library. It
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
[1c72dda]174 <para>This package contains programs to find files in a file system.
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
190 <para>This package contains 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
[2ca8941]198 <para>This package is the Gnu Compiler Collection. It contains the
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
[2ca8941]213 <para>This package contains utilities and libraries for
[1c72dda]214 internationalization and localization of numerous 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
[9ec9c03]227 <para>This package contains math libraries that provide useful functions
[ea7ec72]228 for arbitrary precision arithmetic. It is required to build GCC.</para>
[a26951e]229 </listitem>
230
[a139c25]231 <listitem>
232 <para>Gperf</para>
233
[9ec4436]234 <para>This package contains a program that generates a perfect hash
235 function from a key set. It is required for Eudev.</para>
[a139c25]236 </listitem>
237
[a26951e]238 <listitem>
239 <para>Grep</para>
240
[1c72dda]241 <para>This package contains programs for searching through files. These
242 programs are used by most packages' build scripts.</para>
[a26951e]243 </listitem>
244
245 <listitem>
246 <para>Groff</para>
247
248 <para>This package contains programs for processing and formatting text.
[1c72dda]249 One important function of these programs is to format man pages.</para>
[a26951e]250 </listitem>
251
252 <listitem>
253 <para>GRUB</para>
254
[2ca8941]255 <para>This package is the Grand Unified Boot Loader. It is one
[a26951e]256 of several boot loaders available, but is the most flexible.
257 </para>
258 </listitem>
259
260 <listitem>
261 <para>Gzip</para>
262
[2ca8941]263 <para>This package contains programs for compressing and
[1c72dda]264 decompressing files. It is needed to decompress many packages in LFS
265 and beyond.</para>
[a26951e]266 </listitem>
267
268 <listitem>
269 <para>Iana-etc</para>
270
271 <para>This package provides data for network services and protocols.
[1c72dda]272 It is needed to enable proper networking capabilities.</para>
[a26951e]273 </listitem>
274
275 <listitem>
276 <para>Inetutils</para>
277
[2ca8941]278 <para>This package contains programs for basic network
[1c72dda]279 administration.</para>
[a26951e]280 </listitem>
281
[a139c25]282 <listitem>
283 <para>Intltool</para>
284
[08ee81f]285 <para>This package contains tools for extracting translatable
[a139c25]286 strings from source files.</para>
287 </listitem>
288
[a26951e]289 <listitem>
290 <para>IProute2</para>
291
292 <para>This package contains programs for basic and advanced IPv4 and
293 IPv6 networking. It was chosen over the other common network
[460f575]294 tools package (net-tools) for its IPv6 capabilities.</para>
295 </listitem>
296
297 <listitem>
298 <para>ISL</para>
299
300 <para>This package provides a thread-safe C library for manipulating
301 sets and relations of integer points bounded by affine constraints.
302 It is used as backend polyhedral library in the GCC Graphite framework
303 and in the LLVM Polly framework for loop optimizations.</para>
[a26951e]304 </listitem>
305
[e182fa3]306 <listitem revision="systemd">
307 <para>Jinja2</para>
308
309 <para>This package is a Python module for text templating.
310 It's required to build Systemd.</para>
311 </listitem>
312
[a26951e]313 <listitem>
314 <para>Kbd</para>
315
[1c72dda]316 <para>This package contains key-table files, keyboard utilities
317 for non-US keyboards, and a number of console fonts.</para>
[a26951e]318 </listitem>
319
[46b7d91]320 <listitem>
321 <para>Kmod</para>
322
323 <para>This package contains programs needed to administer Linux
324 kernel modules.</para>
325 </listitem>
326
[a26951e]327 <listitem>
328 <para>Less</para>
329
330 <para>This package contains a very nice text file viewer that
[1c72dda]331 allows scrolling up or down when viewing a file. It is also used by
332 Man-DB for viewing manpages.</para>
[a26951e]333 </listitem>
334
[a139c25]335 <listitem>
336 <para>Libcap</para>
337
[08ee81f]338 <para>This package implements the user-space interfaces to
339 the POSIX 1003.1e capabilities available in Linux kernels.
[a139c25]340 </para>
341 </listitem>
342
[df9fd82]343 <listitem>
344 <para>Libelf</para>
345
346 <para>The elfutils project provides libraries and tools for ELF files
347 and DWARF data. Most utilities in this package are available in
348 other packages, but the library is needed to build the Linux
349 kernel using the default (and most efficient) configuration.</para>
350
351 </listitem>
352
[b0aabe0]353 <listitem>
354 <para>Libffi</para>
355
356 <para>This package implements a portable, high level programming
357 interface to various calling conventions. Some programs may not know
358 at the time of compilation what arguments are to be passed to a
359 function. For instance, an interpreter may be told at run-time about
360 the number and types of arguments used to call a given function. Libffi
361 can be used in such programs to provide a bridge from the interpreter
362 program to compiled code.</para>
363
364 </listitem>
365
[c1ec480]366 <listitem>
367 <para>Libpipeline</para>
368
369 <para>The Libpipeline package contains a library for manipulating
370 pipelines of subprocesses in a flexible and convenient way. It is
371 required by the Man-DB package.</para>
372 </listitem>
373
[a26951e]374 <listitem>
375 <para>Libtool</para>
376
[2ca8941]377 <para>This package contains the GNU generic library support
378 script. It wraps the complexity of using shared libraries in a
[a26951e]379 consistent, portable interface. It is needed by the test
[1c72dda]380 suites in other LFS packages.</para>
[a26951e]381 </listitem>
382
383 <listitem>
384 <para>Linux Kernel</para>
385
386 <para>This package is the Operating System. It is the Linux in
[1c72dda]387 the GNU/Linux environment.</para>
[a26951e]388 </listitem>
389
390 <listitem>
391 <para>M4</para>
392
393 <para>This package contains a general text macro processor useful
[1c72dda]394 as a build tool for other programs.</para>
[a26951e]395 </listitem>
396
397 <listitem>
398 <para>Make</para>
399
400 <para>This package contains a program for directing the building
[1c72dda]401 of packages. It is required by almost every package in LFS.</para>
[a26951e]402 </listitem>
403
[e182fa3]404 <listitem revision="systemd">
405 <para>MarkupSafe</para>
406
407 <para>This package is a Python module for processing strings in
[9904ecb]408 HTML/XHTML/XML safely. Jinja2 requires this package.</para>
[e182fa3]409 </listitem>
410
[a26951e]411 <listitem>
412 <para>Man-DB</para>
413
414 <para>This package contains programs for finding and viewing man pages.
415 It was chosen instead of the <application>man</application> package
416 due to superior internationalization capabilities. It supplies
[1c72dda]417 the man program.</para>
[a26951e]418 </listitem>
419
420 <listitem>
421 <para>Man-pages</para>
422
423 <para>This package contains the actual contents of the basic
[1c72dda]424 Linux man pages.</para>
[a26951e]425 </listitem>
426
[b0aabe0]427 <listitem>
428 <para>Meson</para>
429
430 <para>This package provides a software tool for automating the building
431 of software. The main goal for Meson is to minimize the amount of time
432 that software developers need to spend configuring their build
[e182fa3]433 system. It's required to build Systemd, as well as many BLFS
434 packages.</para>
[b0aabe0]435
436 </listitem>
437
[1c72dda]438 <listitem>
439 <para>MPC</para>
440
441 <para>This package contains functions for the arithmetic of complex
[ea7ec72]442 numbers. It is required by GCC.</para>
[1c72dda]443 </listitem>
444
[a26951e]445 <listitem>
446 <para>MPFR</para>
447
[2ca8941]448 <para>This package contains functions for multiple precision
[ea7ec72]449 arithmetic. It is required by GCC.</para>
[a26951e]450 </listitem>
451
[b0aabe0]452 <listitem>
453 <para>Ninja</para>
454
455 <para>This package contains a small build system with a focus on speed.
456 It is designed to have its input files generated by a higher-level build
[e182fa3]457 system, and to run builds as fast as possible.
458 This package is required by Meson.</para>
[b0aabe0]459
460 </listitem>
461
[a26951e]462 <listitem>
463 <para>Ncurses</para>
464
[2ca8941]465 <para>This package contains libraries for terminal-independent
466 handling of character screens. It is often used to provide
[1c72dda]467 cursor control for a menuing system. It is needed by a number of
468 packages in LFS.</para>
[a26951e]469 </listitem>
470
[b55310e]471 <listitem>
472 <para>Openssl</para>
473
474 <para>This package provides management tools and libraries relating to
475 cryptography. These are useful for providing cryptographic functions to
476 other packages, including the Linux kernel.</para>
477 </listitem>
478
[a26951e]479 <listitem>
480 <para>Patch</para>
481
[12c82b50]482 <para>This package contains a program for modifying or creating files by
[2ca8941]483 applying a <emphasis>patch</emphasis> file typically created
[a26951e]484 by the <application>diff</application> program. It is needed by
[1c72dda]485 the build procedure for several LFS packages.</para>
[a26951e]486 </listitem>
[5b62b8d]487
[a26951e]488 <listitem>
489 <para>Perl</para>
490
491 <para>This package is an interpreter for the runtime language
[0ebe029b]492 PERL. It is needed for the installation and test suites of several LFS
[1c72dda]493 packages.</para>
[a26951e]494 </listitem>
495
[450e682e]496 <listitem>
497 <para>Pkg-config</para>
498
[493d6b5]499 <para>This package provides a program that returns meta-data about an
[450e682e]500 installed library or package.</para>
501 </listitem>
502
503 <listitem>
[c1ec480]504 <para>Procps-NG</para>
[a26951e]505
[1c72dda]506 <para>This package contains programs for monitoring processes. These
507 programs are useful for system administration, and are also used by
508 the LFS Bootscripts.</para>
[a26951e]509 </listitem>
510
511 <listitem>
512 <para>Psmisc</para>
513
[2ca8941]514 <para>This package contains programs for displaying information
[1c72dda]515 about running processes. These programs are useful for system
516 administration.</para>
[a26951e]517 </listitem>
518
[b0aabe0]519 <listitem>
520 <para>Python 3</para>
521
522 <para>This package provides an interpreted language that has a design
523 philosophy that emphasizes code readability.</para>
524
525 </listitem>
526
[a26951e]527 <listitem>
528 <para>Readline</para>
529
[2ca8941]530 <para>This package is a set of libraries that offers command-line
[1c72dda]531 editing and history capabilities. It is used by Bash.</para>
[a26951e]532 </listitem>
533
534 <listitem>
535 <para>Sed</para>
536
[2ca8941]537 <para>This package allows editing of text without opening it in a
538 text editor. It is also needed by most LFS packages' configure
[1c72dda]539 scripts.</para>
[a26951e]540 </listitem>
541
542 <listitem>
543 <para>Shadow</para>
544
[2ca8941]545 <para>This package contains programs for handling passwords
[a26951e]546 in a secure way.</para>
547 </listitem>
548
[e787b1f]549 <listitem revision="sysv">
[a26951e]550 <para>Sysklogd</para>
551
[2ca8941]552 <para>This package contains programs for logging system messages,
553 such as those given by the kernel or daemon processes when unusual
[1c72dda]554 events occur.</para>
[a26951e]555 </listitem>
[e787b1f]556
557 <listitem revision="systemd">
[a139c25]558 <para>Systemd</para>
559
[ad1ccc7]560 <para>This package provides an <application>init</application> program
[edbeeb5]561 and several additional boot and system control capabilities as an
[a139c25]562 alternative to Sysvinit. It is used by many commercial distributions.
[3656105]563 </para>
[a139c25]564 </listitem>
[e787b1f]565
566 <listitem revision="sysv">
[a26951e]567 <para>Sysvinit</para>
568
569 <para>This package provides the <application>init</application>
[12c82b50]570 program, which is the parent of all other processes on the Linux
[a26951e]571 system. </para>
572 </listitem>
573
574 <listitem>
575 <para>Tar</para>
576
577 <para>This package provides archiving and extraction capabilities
[1c72dda]578 of virtually all packages used in LFS.</para>
[a26951e]579 </listitem>
580
581 <listitem>
582 <para>Tcl</para>
583
584 <para>This package contains the Tool Command Language used
[493d6b5]585 in many test suites in LFS packages.</para>
[a26951e]586 </listitem>
587
588 <listitem>
589 <para>Texinfo</para>
590
[2ca8941]591 <para>This package contains programs for reading, writing, and
592 converting info pages. It is used in the installation
[1c72dda]593 procedures of many LFS packages.</para>
[a26951e]594 </listitem>
595
596 <listitem>
[e1428f3]597 <para>Util-linux</para>
[a26951e]598
[2ca8941]599 <para>This package contains miscellaneous utility programs.
600 Among them are utilities for handling file systems, consoles,
[1c72dda]601 partitions, and messages.</para>
[a26951e]602 </listitem>
603
[e68c6d4]604 <listitem>
605 <para>Wheel</para>
606
607 <para>This package contains a Python module that is the
608 reference implementation of the Python wheel packaging standard.
609 </para>
610 </listitem>
611
[a26951e]612 <listitem>
613 <para>Vim</para>
614
[c6d5b092]615 <para>This package contains an editor. It was chosen because of its
616 compatibility with the classic vi editor and its huge number of powerful
[a26951e]617 capabilities. An editor is a very personal choice for
[1c72dda]618 many users and any other editor could be substituted if desired.</para>
[a26951e]619 </listitem>
[bf2bd25]620
[a139c25]621 <listitem>
622 <para>XML::Parser</para>
623
624 <para>This package is a Perl module that interfaces with Expat.</para>
625 </listitem>
[bf2bd25]626
[7002213]627 <listitem>
628 <para>XZ Utils</para>
629
[2ca8941]630 <para>This package contains programs for compressing and decompressing
[7002213]631 files. It provides the highest compression generally available
[62b7a34]632 and is useful for decompressing packages in XZ or LZMA format.</para>
[7002213]633 </listitem>
634
[a26951e]635 <listitem>
636 <para>Zlib</para>
637
[2ca8941]638 <para>This package contains compression and decompression routines
[1c72dda]639 used by some programs.</para>
[a26951e]640 </listitem>
641
[91c7fab6]642 <listitem>
643 <para>Zstd</para>
644
645 <para>This package contains compression and decompression routines
[08ee81f]646 used by some programs. It provides high compression ratios and a very
[91c7fab6]647 wide range of compression / speed trade-offs.</para>
648 </listitem>
649
[a26951e]650 </itemizedlist>
651
652</sect1>
653
Note: See TracBrowser for help on using the repository browser.