How do I remove MacPorts on an “unsupported OS” i.e. El Capitan Public beta?

前端 未结 4 440
闹比i
闹比i 2020-12-29 10:23

The MacPorts installation that I had on Yosemite doesn\'t work on the El Capitan since it isn\'t supported yet. I want to remove the Port installation here but I\'m not able

4条回答
  •  旧时难觅i
    2020-12-29 10:46

    I just went ahead and manually removed the files (using rm):

    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
    

    It didn't seem to leave any leftovers or break anything.

    One thing to note however is that mactex seems to have been installed in the same directory so that got removed as well. I didn't realize that I had that in the same directory. If you're going to repeat the same steps, keep this in mind.

提交回复
热议问题