commands.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <sect1 id="ch02-commands">
  2. <title>Download the LFS Commands</title>
  3. <para>
  4. LFS Commands is a tarball containing files which list the installation
  5. commands for the packages installed in this book.
  6. </para>
  7. <para>
  8. These files can also be used to quickly find out which commands have
  9. been changed between the different LFS versions as well. Download the
  10. lfs-commands tarball for this book version and the previous book
  11. version and run a diff on the files. That way it is possible to see which
  12. packages have updated installation instructions, so any scripts you may
  13. have can be modified, or you can reinstall a package if you think that
  14. necessary.
  15. </para>
  16. <para>
  17. A side effect is that these files can be used to dump to a shell and
  18. install the packages, though some files need to be modified (for
  19. example, when the kbd package is installed, you needed to select the
  20. keyboard layout file, becaue it can't reliably be guessed). Keep in
  21. mind, please, that these files are not checked for correctness,
  22. integrity and so forth. There may be bugs in the files (since they are
  23. manually created, typo's are often inevitable) so do check them and
  24. don't blindly trust them.
  25. </para>
  26. <para>
  27. If you decide to use these files for scripting purposes, then don't
  28. place the files inside the directory of a package. For example, don't
  29. put the autoconf file from the lfs-commands package into the autoconf
  30. directory. The files may interfere with the actual package files, which
  31. may contain a file with the same name. Autoconf is one
  32. example of this: if an autoconf file is present in the autoconf
  33. directory, the configure script won't create a new autoconf file. You
  34. will end up with /usr/bin/autoconf containing autoconf's installation
  35. instructions, rather than the real autoconf perl script. There may be
  36. other packages that behave in similar ways, so just keep the
  37. lfs-commands files outside the package directory.
  38. </para>
  39. <para>
  40. The lfscommands can be downloaded from <ulink
  41. url="http://packages.linuxfromscratch.org/lfs-commands/">
  42. http://packages.linuxfromscratch.org/lfs-commands/</ulink> or <ulink
  43. url="ftp://packages.linuxfromscratch.org/lfs-commands/">
  44. ftp://packages.linuxfromscratch.org/lfs-commands/</ulink>.
  45. </para>
  46. </sect1>