Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall MacPorts

I want to switch to Homebrew instead of MacPorts because Homebrew told me to (http://cl.ly/image/1b0M0q2x1C3K) and it seems better. I'm a bit weary about how to uninstall MacPorts since it's installed trough Terminal and not trough .app as a regular OS X program.

How do I uninstall?

like image 232
thibmaek Avatar asked Mar 10 '14 16:03

thibmaek


People also ask

What is MacPorts user Mac?

Macports is a tool for installing applications and command line tools on your Mac, with a huge library of “ports” (the Macports term for something that can be installed). You use it in Terminal.app like this: $ sudo port install nmap.

Where is MacPorts installed Mac?

If you are using Mac OS X, you should install MacPorts using the Mac OS X package installer unless you do not wish to install it to /opt/local/, the default MacPorts location, or if you wish to install a pre-release version of MacPorts base.


Video Answer


1 Answers

sudo port -f uninstall installed

will uninstall all ports.

Then read the guide for cleaning up the leftover bits.

https://guide.macports.org/chunked/installing.macports.uninstalling.html

like image 52
Kirk Roybal Avatar answered Oct 19 '22 17:10

Kirk Roybal