whut the wget
So I actually needed to use wget on my mac today to get a package from the terminal. To my surprise, wget is not included in lion. You have to get the source and compile it yourself. Apparently it’s not even enough to just have Xcode installed anymore, you have to have the command line toolset installed as well.
I found a great post here that helps you get wget installed.
One thing to add to that is:
if you don’t do a system-wide configure and make of wget, your binary will be compiled in ‘/usr/local/bin/wget’ but in order to use it, you need to create a symlink to your ‘/usr/bin/’ directory by issuing the following command
sudo ln -s /usr/local/bin/wget /usr/bin/wget
Don’t forget to source your bashrc file
You should now be able to use your trusty ‘wget’ command inside of Mac OS Lion