| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | <sect1 id="ch02-commands"><title>Download the LFS Commands</title><para>LFS Commands is a tarball containing files which list the installationcommands for the packages installed in this book.</para><para>These files can also be used to quickly find out which commands havebeen changed between the different LFS versions as well. Download thelfs-commands tarball for this book version and the previous bookversion and run a diff on the files. That way it is possible to see whichpackages have updated installation instructions, so any scripts you may have can be modified, or you can reinstall a package if you think thatnecessary.</para><para>A side effect is that these files can be used to dump to a shell and install the packages, though some files need to be modified (for example, when the kbd package is installed, you needed to select the keyboard layout file, becaue it can't reliably be guessed). Keep inmind, please, that these files are not checked for correctness,integrity and so forth. There may be bugs in the files (since they aremanually created, typo's are often inevitable) so do check them anddon't blindly trust them.</para><para>If you decide to use these files for scripting purposes, then don't place the files inside the directory of a package. For example, don't put the autoconf file from the lfs-commands package into the autoconfdirectory. The files may interfere with the actual package files, whichmay contain a file with the same name. Autoconf is oneexample of this: if an autoconf file is present in the autoconfdirectory, the configure script won't create a new autoconf file. You will end up with /usr/bin/autoconf containing autoconf's installation instructions, rather than the real autoconf perl script. There may beother packages that behave in similar ways, so just keep thelfs-commands files outside the package directory.</para><para>The lfscommands can be downloaded from <ulinkurl="http://packages.linuxfromscratch.org/lfs-commands/">http://packages.linuxfromscratch.org/lfs-commands/</ulink> or <ulinkurl="ftp://packages.linuxfromscratch.org/lfs-commands/">ftp://packages.linuxfromscratch.org/lfs-commands/</ulink>.</para></sect1>
 |