MacPorts on OSX

Decided to go with MacPorts instead of the alternatives because Red mentioned that the guy who wrote DarwinPorts (now MacPorts) works at Apple. Not sure if that’s a good reason, but it’s better than a coin toss.

Installation is straightforward if you follow instructions (unlike me).

I neglected to set up the shell environment beforehand, so I ran into a bit of trouble.

Here are some basic commands:

port -v selfupdate which is equivalent to apt-get update
port search <portname> which is equivalent to apt-cache search
port -v install <portname> which is equivalent to apt-get install <appname>

The following commands are self-explanatory:

port upgrade <portname>
port upgrade outdated

Leave a Reply