MacPorts: Update port definitions and upgrade installed ports

Once in a while is good to update your software to get advantage of the latest bug fixes and new features. This is very easy to do with MacPorts:

$ sudo port selfupdate
$ sudo port upgrade outdated

You can then remove all the non active ports:

$ sudo port uninstall inactive

And clean all the files used to build the ports:

$ sudo port clean --all all

You might also like

Solve “mongodb cannot be built while v8 is active” in MacPorts
While updating all the ports of macports I got this error: ---> Configuring mongodb Error: mongodb...
Fix “macports checking for Tcl configuration… configure: error: Can’t find Tcl configuration definitions” when selfupdating Macports in Mac OS X 10.9 Mavericks
I've just upgraded my Mac OS X to Mavericks 10.9. When I tried to update Macports I got an error and...
Change root password in MySQL
In GNU/Linux: $ sudo mysqld_safe --skip-grant-tables & $ mysql -u root -p #press enter to use a...
Update composer and all packages installed with it
php composer.phar self-update php composer.phar updatephp composer.phar self-update php composer.phar...
Leave a comment ?


Leave a Comment