Wget on OS X Lion (10.7)
By nick | Hackintosh, Tech Support9 Jan 2012
Being from the wonderful world of true unix environments, I love my standard set of tools. Also being new to OS X, I was a little disappointed to see that there was no wget installed by default. Sure there’s curl but that’s a whole set of new flags to use and my memory is limited!
Here’s a quick guide on how to download and compile wget for your box, alternatively if you’re lazy you can just download the zip file I’ve linked below and follow those instructions.
Compiling wget
curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.tar.gz
tar zxvf wget-1.13.tar.gz
cd wget-1.13
./configure –with-ssl=openssl
make
sudo cp src/wget /usr/bin
Or download and install my wget binary for lazy people
curl -O http://www.elfnet.org/files/osx_wget.tar.gz
tar zxvf osx_wget.tar.gz
chmod +x wget
sudo mv wget /usr/bin
Leave a comment and let me know if this was useful!
Definitely useful, thanks for the build. Saves having to download xcode just to compile.
the file osx_wget.tar.gz is unavailable per http://www.elfnet.org/2012/01/09/wget-os-lion-10-7/
just thought you should know it’s a 404 right now
Thanks for letting me know, this has now been fixed!
Thank you!
Yes, I’m one of the lazy ones
Well said. Thank you!
Be careful copying and pasting ./configure –with-ssl=openssl
as the dashes are hyphens here. Dash dash should be used.
Thanks a lot!
Thank you! Very easy.