Fiddling with File Locations and Fighting with Installers
For this example, you need the netpbm package, available from http://www.macosxunleashed.com/downloads/netpbm-9.12.tgz or from its original home at http://download.sourceforge.net/netpbm/netpbm-9.12.tgz. A more recent version of netpbm is available, and it's the one you'll actually want to install and use eventually, but this older version makes for a nice tour through the underbelly of a software install. The easy download solution is
curl -O http://download.sourceforge.net/netpbm/netpbm-9.12.tgz
The file should be 2057293 bytes in length. Uncompress it, untar it, and check whether it wants configure or make:
brezup:software source $ gunzip netpbm-9.12.tgz brezup:software source $ ...