I researched how to uninstall MacPorts, a package management tool available on Mac, so here’s a memo.
$ sudo port -fp uninstall --follow-dependents installed
$ sudo rm -rf \\
/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
【References】
・satomacoto: How to Remove/Uninstall MacPorts
That’s all from the Gemba.