如何检查卸载Macports不会破坏东西?


0

自从我为Ruby安装Macports以来已经过去了一年多。我想卸载,但我不记得我是否正在使用任何关键的东西。我可以获得一个直接安装的好的端口列表吗?


你的意思是macports安装了什么 - 或者你是否也想找到你用macports构建的可执行文件/脚本?
马克

我想,“macports安装了什么?”
AshCooman

Answers:


1

Macports记录了如何卸载它

卸载端口

sudo port -fp uninstall 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
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.