vibol hou

Uninstalling MacPorts

Having upgraded to Snow Leopard, I wanted to wipe out my MacPorts installation and start clean. I’ve had tons of stuff installed and updated from the past (three versions of each port, in fact). Here’s how to uninstall MacPorts.

The first step is to uninstall all the installed ports:

1
sudo port -f uninstall installed

Then remove any trace files lingering about:

1
2
3
4
5
6
7
8
9
10
sudo rm -rf /opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts*.pkg \
/Library/Receipts/DarwinPorts*.pkg \
~/.macports

No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment


Weekend Project: NemesisSan PedroLong Beach Cambodian New Year Parade 2008Ventura PierPaintball 6/27/2009Julian + YoshiIchiCSULB Cambodian Student Society Culture Show 2008Audi Driving Experience