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

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...

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...

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...

Change root password in MySQL
In GNU/Linux:$ sudo mysqld_safe --skip-grant-tables & $ mysql -u root -p #press enter to use a...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.