Updating Darwin ports on Mac OS X


MacOSX can install and upgrade your favourite UNIX and Linux packages. The Darwin Ports project (http://darwinports.com/) was created to help in these tasks.

First we need to update the list of updates available on the internet:

$ sudo su -
# /opt/local/bin/port -d selfupdate

Secondly, we update the already installed Darwin ports:

# /opt/local/bin/port upgrade outdated

This process might take a long while, depending on the amount of ports you have installed. But after this process, all the installed Darwin ports will be upgraded.

Finally, we can also install new packages using the port command:

# /opt/local/bin/port install mc
Previous Post

Simple webserver in Perl

Next Post

Recovering a deleted file in Subversion

Related Posts