I have installed MacPorts on my Mac OS X Lion, and I would like to remove it. There should be no more trace of MacPorts?
Is there a way to do this?
From the manual, uninstalling MacPorts works as follows. You need to first uninstall all ports:
Also, to remove remainders of MacPorts, you will need to delete the following files by this single command (copy and paste it to Terminal):
Warning: Don't run a
|show 4 more comments|
This guide helped me remove MacPorts: http://bitboxer.de/2010/06/03/moving-from-macports-to-homebrew/
Here's a summary (in case the link goes dead): First, uninstall MacPorts:
Second step: remove everything that is left from MacPorts (check for MySQL and other stuff in /opt/local first):
After that you should remove the /opt/local/bin from your $PATH