Downloads [June 15, 2012, 4:24 a.m.]
Your task here is just to keep this page up in another tab or another window. I'll be referring to files from this task later. Go ahead and check it off.
Scripts
I've copied in some scripts from the CLFS book and the internet, and written a couple myself, which a friend of mine at gremlin.net has graciously hosted here:
http://greenback.gremlin.net/clfs.tar.bz2
You'll want to untar that right into your home directory, like this:
cd
wget http://greenback.gremlin.net/clfs.tar.bz2
tar jxvf clfs.tar.bz2
rm -v clfs.tar.bz2
Here's all those files individually. Everything belongs under ~/clfs, so the books subdirectory is ~/clfs/books.
In the book subdirectory:
http://greenback.gremlin.net/CLFS-x86.pdf
In the scripts subdirectory (the tarball above has some Easter eggs in this directory as well):
http://greenback.gremlin.net/chown
http://greenback.gremlin.net/RENAME.profile
http://greenback.gremlin.net/RENAME.profile2
http://greenback.gremlin.net/version-check.sh
http://greenback.gremlin.net/xsel.c
http://greenback.gremlin.net/unzip
http://greenback.gremlin.net/fop.sh
In the sources directory:
http://greenback.gremlin.net/downloads.txt
In the specs directory:
http://greenback.gremlin.net/git.sh
http://greenback.gremlin.net/seed.spechttp://greenback.gremlin.net/curl.sh
http://greenback.gremlin.net/rpm.sh
http://greenback.gremlin.net/beecrypt.sh
Sources
In this section, you'll grab all your source code from the internet. Think of the source code packages as the bricks you'll be snapping together to make Linux. To get all the source code packages from the CLFS book at once, we can use the downloads.txt file in the link above (which is just a bunch of links if you'd rather download things manually) from a bash shell like this:
mkdir -p ~/clfs/sources
cd ~/clfs/sources
wget http://greenback.gremlin.net/downloads.txt
wget -i downloads.txt
mkdir -pv ../clfs/patches
mv *.patch ../clfs/patches
If you don't have wget, you can find generic instructions that will work in any build environment for building and installing it from source in wget's page in the CBLFS book, here:
http://cblfs.cross-lfs.org/index.php/Wget
Miscellaneous
The source for the Neal Stephenson essay that contains the "Hole Hawg" excerpt can be found here:
http://www.cryptonomicon.com/command.zip
Windows
Windows users will want to download and install these three programs right away:
- http://www.mingw.org/wiki/Getting_Started - you'll want to install mingw-get. I recommend installing to C:/mingw
- http://cygwin.com/install.html - you'll want to run the setup.exe, and install the core system. I recommend installing to C:\cygwin
- http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express - I recommend installing to its default location
You'll want to keep these pages up in your browser for reference:
http://sourceforge.net/projects/gnuwin32/files/
http://www.gnu.org/software/gnulib/manual/gnulib.html
And in case you didn't download it yet, you'll need the source code for ncurses handy right away,
ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
If you want to be able to read EXT-2 filesystems natively from windows, you'll also want to grab one or the other of these programs (but not both) and install it:
Back-up
Once you've downloaded everything, now would be a good time to back up everything you downloaded.