why.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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. <sect1 id="pre-why">
  8. <?dbhtml filename="package-choices.html"?>
  9. <title>Rationale for Packages in the Book</title>
  10. <para>As stated earlier, the goal of LFS is to build a complete and usable
  11. foundation-level system. This includes all packages needed to replicate
  12. itself while providing a relativly minimal base from which to customize
  13. a more complete system based on the choices of the user. This does not
  14. mean that LFS is the smallest system possible. Several important packages
  15. are included that are not strictly required. The lists below document the
  16. rationale for each package in the book.</para>
  17. <itemizedlist>
  18. <listitem>
  19. <para>Autoconf</para>
  20. <para>This package contains programs for producing shell scripts that
  21. can automatically configure source code from a developer's
  22. template. It is often needed to rebuild a package after updates
  23. to the build procedures.</para>
  24. </listitem>
  25. <listitem>
  26. <para>Automake</para>
  27. <para>This package contains programs for generating Make files from
  28. a template. It is often needed to rebuild a package after updates
  29. to the build procedures.</para>
  30. </listitem>
  31. <listitem>
  32. <para>Bash</para>
  33. <para>This package satisfies an LSB core requirement to provide
  34. a Bourne Shell interface to the system. It was chosen over
  35. other shell packages because of its common usage and extensive
  36. capabilities beyond basic shell functions. </para>
  37. </listitem>
  38. <listitem>
  39. <para>Binutils</para>
  40. <para>This package package contains a linker, an assembler, and other
  41. tools for handling object files. </para>
  42. </listitem>
  43. <listitem>
  44. <para>Bison</para>
  45. <para>This package contains the GNU version of yacc (Yet Another
  46. Compiler Compiler) needed to build several other LFS programs.
  47. </para>
  48. </listitem>
  49. <listitem>
  50. <para>Bzip2</para>
  51. <para>This package contains programs for compressing and decompressing
  52. files. It is required to decompress many LFS packages.</para>
  53. </listitem>
  54. <listitem>
  55. <para>Coreutils</para>
  56. <para>This package contains a number of essential programs for viewing
  57. and manipulating files and directories. </para>
  58. </listitem>
  59. <listitem>
  60. <para>DejaGNU</para>
  61. <para>This package contains a framework for testing other programs.
  62. It is only installed in the temporary toolchain.</para>
  63. </listitem>
  64. <listitem>
  65. <para>Diffutils</para>
  66. <para>This package contains programs that show the differences
  67. between files or directories. </para>
  68. </listitem>
  69. <listitem>
  70. <para>Expect</para>
  71. <para>This package contains a program for carrying out scripted
  72. dialogues with other interactive programs. It is commonly used
  73. for testing other packages. It is only installed in the temporary
  74. toolchain.</para>
  75. </listitem>
  76. <listitem>
  77. <para>E2fsprogs</para>
  78. <para>This package contains the utilities for handling the ext2, ext3
  79. and ext4 file systems. These are the most common and thouroughly
  80. tested file systems that Linux supports.</para>
  81. </listitem>
  82. <listitem>
  83. <para>File</para>
  84. <para>This package contains a utility for determining the type of a
  85. given file or files.</para>
  86. </listitem>
  87. <listitem>
  88. <para>Findutils</para>
  89. <para>This package contains programs to find files in a file system.</para>
  90. </listitem>
  91. <listitem>
  92. <para>Flex</para>
  93. <para>This package contains a utility for generating programs that
  94. recognize patterns in text. It is the GNU version of the lex
  95. (lexical analyzer) program. It is required to build several
  96. LFS packages. </para>
  97. </listitem>
  98. <listitem>
  99. <para>Gawk</para>
  100. <para>This package contains programs for manipulating text files.
  101. It is the GNU version of awk (Aho-Weinberg-Kernighan). </para>
  102. </listitem>
  103. <listitem>
  104. <para>Gcc</para>
  105. <para>This package is the Gnu Compiler Collection. It contains the
  106. C and C++ compilers as well as several others not built by LFS.
  107. </para>
  108. </listitem>
  109. <listitem>
  110. <para>GDBM</para>
  111. <para>This package contains the GNU Database Manager library. It
  112. is used by one other LFS package, Man-DB.
  113. </para>
  114. </listitem>
  115. <listitem>
  116. <para>Gettext</para>
  117. <para>This package contains utilities and libraries for
  118. internationalization and localization of numerous packages.
  119. </para>
  120. </listitem>
  121. <listitem>
  122. <para>Glibc</para>
  123. <para>This package contains the main C library. Linux programs would
  124. not run without it. </para>
  125. </listitem>
  126. <listitem>
  127. <para>GMP</para>
  128. <para>This package package contains math libraries and have
  129. useful functions for arbitrary precision arithmetic. It
  130. is required to build Gcc. </para>
  131. </listitem>
  132. <listitem>
  133. <para>Grep</para>
  134. <para>This package contains programs for searching through files.
  135. </para>
  136. </listitem>
  137. <listitem>
  138. <para>Groff</para>
  139. <para>This package contains programs for processing and formatting text.
  140. One important function of these programs is to format man pages.
  141. </para>
  142. </listitem>
  143. <listitem>
  144. <para>GRUB</para>
  145. <para>This package is the Grand Unified Boot Loader. It is one
  146. of several boot loaders available, but is the most flexible.
  147. </para>
  148. </listitem>
  149. <listitem>
  150. <para>Gzip</para>
  151. <para>This package contains programs for compressing and
  152. decompressing files. </para>
  153. </listitem>
  154. <listitem>
  155. <para>Iana-etc</para>
  156. <para>This package provides data for network services and protocols.
  157. It is needed to enable proper networking capabilities.
  158. </para>
  159. </listitem>
  160. <listitem>
  161. <para>Inetutils</para>
  162. <para>This package contains programs for basic network
  163. administration.
  164. </para>
  165. </listitem>
  166. <listitem>
  167. <para>IProute2</para>
  168. <para>This package contains programs for basic and advanced IPv4 and
  169. IPv6 networking. It was chosen over the other common network
  170. tools package (net-tools) for its IPv6 capabilities. </para>
  171. </listitem>
  172. <listitem>
  173. <para>Kbd</para>
  174. <para>This package contains key-table files and keyboard utilities
  175. for non-US keyboards. </para>
  176. </listitem>
  177. <listitem>
  178. <para>Less</para>
  179. <para>This package contains a very nice text file viewer that
  180. allows scolling up or down when viewing a file.
  181. </para>
  182. </listitem>
  183. <listitem>
  184. <para>Libtool</para>
  185. <para>This package contains the GNU generic library support
  186. script. It wraps the complexity of using shared libraries in a
  187. consistent, portable interface. It is needed by the test
  188. suites in other LFS packages.
  189. </para>
  190. </listitem>
  191. <listitem>
  192. <para>Linux Kernel</para>
  193. <para>This package is the Operating System. It is the Linux in
  194. the GNU/Linux environment.
  195. </para>
  196. </listitem>
  197. <listitem>
  198. <para>M4</para>
  199. <para>This package contains a general text macro processor useful
  200. as a build tool for other programs.
  201. </para>
  202. </listitem>
  203. <listitem>
  204. <para>Make</para>
  205. <para>This package contains a program for directing the building
  206. of packages. It is required by almost every package in LFS.
  207. </para>
  208. </listitem>
  209. <listitem>
  210. <para>Man-DB</para>
  211. <para>This package contains programs for finding and viewing man pages.
  212. It was chosen instead of the <application>man</application> package
  213. due to superior internationalization capabilities. It supplies
  214. the man program. </para>
  215. </listitem>
  216. <listitem>
  217. <para>Man-pages</para>
  218. <para>This package contains the actual contents of the basic
  219. Linux man pages. </para>
  220. </listitem>
  221. <listitem>
  222. <para>Module-Init-Tools</para>
  223. <para>This package contains programs needed to administer Linux
  224. kernel modules.</para>
  225. </listitem>
  226. <listitem>
  227. <para>MPFR</para>
  228. <para>This package contains functions for multiple precision
  229. arithmetic. It is required by Gcc.
  230. </para>
  231. </listitem>
  232. <listitem>
  233. <para>Ncurses</para>
  234. <para>This package contains libraries for terminal-independent
  235. handling of character screens. It is often used to provide
  236. cursor control for a menuing system. </para>
  237. </listitem>
  238. <listitem>
  239. <para>Patch</para>
  240. <para>This package a program for modifying or creating files by
  241. applying a <emphasis>patch</emphasis> file typically created
  242. by the <application>diff</application> program. It is needed by
  243. the build procedure for several LFS packages. </para>
  244. </listitem>
  245. <listitem>
  246. <para>Perl</para>
  247. <para>This package is an interpreter for the runtime language
  248. PERL. </para>
  249. </listitem>
  250. <listitem>
  251. <para>Pkg-config</para>
  252. <para>This package contains a tool for passing the include path
  253. and/or library paths to build tools during the configure and make
  254. processes. It is needed by many LFS packages. </para>
  255. </listitem>
  256. <listitem>
  257. <para>Procps</para>
  258. <para>This package contains programs for monitoring processes.
  259. </para>
  260. </listitem>
  261. <listitem>
  262. <para>Psmisc</para>
  263. <para>This package contains programs for displaying information
  264. about running processes. </para>
  265. </listitem>
  266. <listitem>
  267. <para>Readline</para>
  268. <para>This package is a set of libraries that offers command-line
  269. editing and history capabilities. It is used by Bash. </para>
  270. </listitem>
  271. <listitem>
  272. <para>Sed</para>
  273. <para>This package allows editing of text without opening it in a
  274. text editor. It is also needed by most LFS packages' configure
  275. scripts. </para>
  276. </listitem>
  277. <listitem>
  278. <para>Shadow</para>
  279. <para>This package contains programs for handling passwords
  280. in a secure way.</para>
  281. </listitem>
  282. <listitem>
  283. <para>Sysklogd</para>
  284. <para>This package contains programs for logging system messages,
  285. such as those given by the kernel or daemon processes when unusual
  286. events occur.
  287. </para>
  288. </listitem>
  289. <listitem>
  290. <para>Sysvinit</para>
  291. <para>This package provides the <application>init</application>
  292. program which it the parent of all other processes on the Linux
  293. system. </para>
  294. </listitem>
  295. <listitem>
  296. <para>Tar</para>
  297. <para>This package provides archiving and extraction capabilities
  298. of virtually all packages used in LFS. </para>
  299. </listitem>
  300. <listitem>
  301. <para>Tcl</para>
  302. <para>This package contains the Tool Command Language used
  303. in many testsuites in LFS packages. It is only installed in
  304. the temporary toolchain. </para>
  305. </listitem>
  306. <listitem>
  307. <para>Texinfo</para>
  308. <para>This package contains programs for reading, writing, and
  309. converting info pages. It is used in the installation
  310. procedures of many LFS packages. </para>
  311. </listitem>
  312. <listitem>
  313. <para>Udev</para>
  314. <para>This package contains programs for dynamic creation of
  315. device nodes. It is an alternative to creating thousands of
  316. static devices in the /dev directory.
  317. </para>
  318. </listitem>
  319. <listitem>
  320. <para>Util-linux-ng</para>
  321. <para>This package contains miscellaneous utility programs.
  322. Among them are utilities for handling file systems, consoles,
  323. partitions, and messages. </para>
  324. </listitem>
  325. <listitem>
  326. <para>Vim</para>
  327. <para>This package an editor. It was chosen because its compatibility
  328. with the classic vi editor and its huge number of powerful
  329. capabilities. An editor is a very personal choice for
  330. many users and any other editor could be substituted if desired.
  331. </para>
  332. </listitem>
  333. <listitem>
  334. <para>Zlib</para>
  335. <para>This package contains compression and decompression routines
  336. used by some programs.
  337. </para>
  338. </listitem>
  339. </itemizedlist>
  340. </sect1>