OS X 下卸载 XQuartz 的方法

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist

sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz

sudo pkgutil --forget org.macosforge.xquartz.pkg