Continuing on my LFS journey, one of the first things I did was to download the source and patches I would need to get the ball rolling. Fortunately, there is a way to download the seventy-odd packages automagically. Enter this command on your terminal:
wget -i http://www.linuxfromscratch.org/lfs/view/stable/wget-list -P lfs-dl/
This will fetch the current stable LFS version’s list of package download locations, then download all the packages listed there to a directory of your choice (in my case, to the directory
lfs-dl). If you want packages for any particular version of LFS, substitute the desired version number (e.g., “6.8”) for “stable” in the URL. Kudos once again to the LFS authors for making things extremely easy!
Depending on your connection, you should soon have a directory of roughly 285MB of sources and patches, together with a copy of the list itself for reference. Simple, eh?
Note: I did this step out of order from the LFS book instructions, as I have been working on getting all the necessary parts for a dedicated LFS near-retrocomputer for nearly as long as I’ve been reading the book.