random musings

Wget and Curl on Mac OS X

Mac OS X does not come with various open source tools commonly found in other UNIX systems. Fink or MacPorts are good options in that case. For installing MacPorts see this blogpost.

This post is about getting curl and wget. First step is to check for any updates and update the outdated
<br /> sudo port selfupdate<br /> sudo port upgrade outdated<br />

then search for curl and install using these commands:
<br /> port search curl<br /> sudo port install curl<br />

similarly for wget:
<br /> port search wget<br /> sudo port install wget<br />
Alternatively you can build these from source. OS X Daily has a post on how to build and install wget