Saturday 25 August 2012

MacPorts notes

Some notes on use MacPorts on the Mac.

Usage

Packages

Find new packages:
port search name 
 Find what is currently installed:
port installed  

Maintenance

Upgrade existing MacPorts database:
port self update 
Update outdated packages (e.g. after database update):
port upgrade outdated 
Remove old packages (e.g. after updating outdated):
port uninstall inactive
Clean up to save disc space ("du -hs /opt" to find existing usage before and after):
port clean installed