Skip to content

Instantly share code, notes, and snippets.

@artynet
Created November 6, 2015 10:54
Show Gist options
  • Save artynet/73dcd0e31b91e114cf09 to your computer and use it in GitHub Desktop.
Save artynet/73dcd0e31b91e114cf09 to your computer and use it in GitHub Desktop.
Simple script to uninstall MacPorts from your OSX system
#!/bin/bash
sudo rm -rvf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
@SevenChords
Copy link

doesn't work on macos big sur, after running this i can still run port and see that macports is still installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment