On each page for most of the packages, there are download links for key files needed by the installation process. Usually, these are tarballs of source code and patches to solve various issues. If you are following GLFS right after LFS or MLFS, you probably don't have the tools necessary on the LFS target to download any of the necessary files, or an internet connection. If you do, GLFS can be treated like BLFS in that you can download files as you go, but can be pretty inconvenient.
In whatever case, you may want to download every file in bulk.
Firstly, whatever directory you choose to download to is up to you.
But you should do it in an environment that both has Wget-1.25.0
and an internet connection. If you'll follow GLFS in a chroot, you
could download the files in $LFS/sources outside the chroot, then follow GLFS
in the chroot. If you'll follow GLFS in a TTY, you could download the
files on another distribution, put them on a storage device, and hook
up the storage device to the LFS target so the files are accessible.
You could also do a combination of all of the above or something
else. All of that is if you don't have Wget-1.25.0 and an
internet connection on the LFS target. If you do, you can follow the
bulk downloading process normally wherever you want.
Download the Wget file list, then download all the files listed in it:
wget https://www.linuxfromscratch.org/glfs/view/13.0/download/wget-list && wget -N --input-file=wget-list --continue
If you rendered GLFS yourself, you may want to use the version of
wget-list that came with the render.
In that case, copy ../download/wget-list to the directory
you want to download the files to. file:// or something else may be prefixed in the
link. Make sure to delete that prefix first to ensure the file gets
copied. The link will point to an online source if you didn't
render the book. The link should be unique to your render.
To verify every file has been downloaded, you can run the following:
for file in $(grep -v '^#' wget-list); do
if [ ! -f $(basename $file) ]; then
echo "$(basename $file) NOT found"
fi
done
If every file got downloaded, there should be no output from the above commands.
The files for NVIDIA (NVIDIA-590.48.01 or NVIDIA-580.126.09) and CUDA (CUDA-13.1.1 or CUDA-13.0.2) are not downloaded from the above process as they are big files and would total to about 9G on their own. However, files for packages like NVIDIA-VA-API-Driver-0.0.14 are downloaded. You may wish to download the files now ahead of time. To do so, first read NVIDIA Revisions, decide on a major NVIDIA revision, then download the files in each page within that revision section.
Files for a package bundle like Vulkan-SDK-1.4.341.0, LLVM-21.1.8, and GStreamer-Suite-1.28.1 will also not be downloaded by the above instructions. They instead get downloaded when you reach those package bundles, in which the tools to download them should become available.