source: prologue/why.xml@ c97d81d

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since c97d81d was c97d81d, checked in by Krejzi <krejzi@…>, 11 years ago

Fixes to Attr and libcap pages. Don't move coreutils' utils in /bin which are not specified by FHS to be there - they aren't necesary for systemd.

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

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