standards.xml 16 KB

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