introduction.po 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:11
  20. msgid "Introduction"
  21. msgstr ""
  22. #. type: Content of: <sect1><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:13
  24. msgid ""
  25. "This chapter includes a list of packages that need to be downloaded in order "
  26. "to build a basic Linux system. The listed version numbers correspond to "
  27. "versions of the software that are known to work, and this book is based on "
  28. "their use. We highly recommend against using newer versions because the "
  29. "build commands for one version may not work with a newer version. The newest "
  30. "package versions may also have problems that require work-arounds. These "
  31. "work-arounds will be developed and stabilized in the development version of "
  32. "the book."
  33. msgstr ""
  34. #. type: Content of: <sect1><para>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:22
  36. msgid ""
  37. "Download locations may not always be accessible. If a download location has "
  38. "changed since this book was published, Google (<ulink "
  39. "url=\"http://www.google.com/\"/>) provides a useful search engine for most "
  40. "packages. If this search is unsuccessful, try one of the alternative means "
  41. "of downloading discussed at <ulink "
  42. "url=\"&lfs-root;lfs/packages.html#packages\"/>."
  43. msgstr ""
  44. #. type: Content of: <sect1><para>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:29
  46. msgid ""
  47. "Downloaded packages and patches will need to be stored somewhere that is "
  48. "conveniently available throughout the entire build. A working directory is "
  49. "also required to unpack the sources and build them. <filename "
  50. "class=\"directory\">$LFS/sources</filename> can be used both as the place to "
  51. "store the tarballs and patches and as a working directory. By using this "
  52. "directory, the required elements will be located on the LFS partition and "
  53. "will be available during all stages of the building process."
  54. msgstr ""
  55. #. type: Content of: <sect1><para>
  56. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:38
  57. msgid ""
  58. "To create this directory, execute the following command, as user <systemitem "
  59. "class=\"username\">root</systemitem>, before starting the download session:"
  60. msgstr ""
  61. #. type: Content of: <sect1><screen>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:42
  63. #, no-wrap
  64. msgid "<userinput>mkdir -v $LFS/sources</userinput>"
  65. msgstr ""
  66. #. type: Content of: <sect1><para>
  67. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:44
  68. msgid ""
  69. "Make this directory writable and sticky. <quote>Sticky</quote> means that "
  70. "even if multiple users have write permission on a directory, only the owner "
  71. "of a file can delete the file within a sticky directory. The following "
  72. "command will enable the write and sticky modes:"
  73. msgstr ""
  74. #. type: Content of: <sect1><screen>
  75. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:50
  76. #, no-wrap
  77. msgid "<userinput>chmod -v a+wt $LFS/sources</userinput>"
  78. msgstr ""
  79. #. type: Content of: <sect1><para>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:52
  81. msgid ""
  82. "There are several ways to optain all the necessary packages and patches to "
  83. "build LFS:"
  84. msgstr ""
  85. #. type: Content of: <sect1><itemizedlist><listitem><para>
  86. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:57
  87. msgid ""
  88. "The files can be downloaded individually as described in the next two "
  89. "sections."
  90. msgstr ""
  91. #. type: Content of: <sect1><itemizedlist><listitem><para>
  92. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:61
  93. msgid ""
  94. "For stable versions of the book, a tarball of all the needed files can be "
  95. "downloaded from one of the LFS files mirrors listed at <ulink "
  96. "url=\"http://www.linuxfromscratch.org/mirrors.html#files\"/>."
  97. msgstr ""
  98. #. type: Content of: <sect1><itemizedlist><listitem><para>
  99. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:66
  100. msgid ""
  101. "The files can be downloaded using <command>wget</command> and a wget-list as "
  102. "described below."
  103. msgstr ""
  104. #. type: Content of: <sect1><para>
  105. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:71
  106. msgid ""
  107. "To download all of the packages and patches by using <ulink "
  108. "url=\"../wget-list\">wget-list</ulink> as an input to the "
  109. "<command>wget</command> command, use:"
  110. msgstr ""
  111. #. type: Content of: <sect1><screen>
  112. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:75
  113. #, no-wrap
  114. msgid ""
  115. "<userinput>wget --input-file=wget-list --continue "
  116. "--directory-prefix=$LFS/sources</userinput>"
  117. msgstr ""
  118. #. type: Content of: <sect1><para>
  119. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:77
  120. msgid ""
  121. "Additionally, starting with LFS-7.0, there is a separate file, <ulink "
  122. "url=\"../md5sums\">md5sums</ulink>, which can be used to verify that all the "
  123. "correct packages are available before proceeding. Place that file in "
  124. "<filename class=\"directory\">$LFS/sources</filename> and run:"
  125. msgstr ""
  126. #. type: Content of: <sect1><screen>
  127. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:82
  128. #, no-wrap
  129. msgid ""
  130. "<userinput>pushd $LFS/sources\n"
  131. " md5sum -c md5sums\n"
  132. "popd</userinput>"
  133. msgstr ""
  134. #. type: Content of: <sect1><para>
  135. #: /home/xry111/svn-repos/LFS-BOOK/chapter03/introduction.xml:86
  136. msgid ""
  137. "This check can be used after retrieving the needed files with any of the "
  138. "methods listed above."
  139. msgstr ""