- Get the source from ftp://ftp.gnu.org/pub/gnu/wget/wget-1.9.tar.gz
- Unpack the tarball:
tar xzf wget-1.9.tar.gz
- This creates a folder named
wget-1.9
. Change the working folder to it:cd wget-1.9/
- Configure the build:
./configure
- Build:
make
- Install:
sudo make install
- The
wget
binary should now be in your /usr/local/bin folder.