Uninstall MacPorts
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
Related videos on Youtube
thibmaek
Student at Devine in the university college of Howest. Here I combine both design & development to make the most kickass websites, apps, designs, installations. I can’t stop learning new stuff. Docker, Redux, AWS Lambda, RollupJS, CSS4, it all interests me! Making and doing things with code is my long time passion aside from digging trough record crates trying to find some nice records for my ever growing collection. Javascript is my goto language but that doesn’t scare me off from experimenting with Python or Haskell. I have a humongous appetite for anything devops related (looking at you Docker!) and IoT. I own 5 Raspberry Pi’s with whom I’ve gone trough a difficult, yet loving relationship with. Oh and I check my Github like 20 times a day.
Updated on June 04, 2022Comments
-
thibmaek 7 monthsI 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?
-
ptamzz almost 9 yearsI got this errorError: No ports matched the given expressionwhen usedsudo port -fp uninstall installed. What might be the possible reason? -
Kirk Roybal almost 9 years@ptamzz Did you install any port packages? This doesn't remove macports, it removes all of the packages installed by macports. See the guide link in the answer to uninstall macports. -
nindalf over 7 yearsSometimes homebrew throws up this error:Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew.So no, I don't think they're compatible -
JacksonIsaac about 7 yearsIt is just a warning message though. There might be a problem when you have packages installed by different package managers. But as I said it depends which package you want to install / is installed. There are some packages available in Homebrew that are not yet available in MacPorts. In that case you can use them both as both are using different prefix to install the packages (as long as you are careful).