Board logo

标题: [心得] X11怎么卸载? [打印本页]

作者: jahaman    时间: 2015-8-21 20:50     标题: X11怎么卸载?

装软件说要安装就顺手装了,用CLEAN MY MAC 直接删除都卸载不了,
有卸载的方法么?
作者: zztg    时间: 2015-8-21 21:31

posted by wap, platform: MAC OS X
Uninstall (Snow Leopard or Later)

XQuartz does not replace the system X11 on Snow Leopard, so you can go back to the Apple-provided X11.app rather easily. Just launch X11.app rather than XQuartz.app to get the older server. If you want to make Apple's X11.app the default server (owning the launchd $DISPLAY socket), then you should disable the org.macosforge.xquartz.startx.plist as described in the first question. After logging out and back in, Apple's X11.app will be default. If you still want to remove XQuartz.app from your system, you can do that with these two steps:
引用:
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
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
Please file a bug report to let us know why you reverted to the system X11.app, so we can address the problem in a future release.
作者: zztg    时间: 2015-8-21 21:33

posted by wap, platform: MAC OS X
如果是用brew cask安装的则直接brew cask uninstall xquartz即可,
作者: jahaman    时间: 2015-8-21 21:59

按2楼的方法输入终端后果然再也找不到X11
不过刚才我也搜到了类似的方法,试了试不过不管用。。。见鬼了。。。。。
作者: sambfish    时间: 2015-8-22 11:04

安装盗版OFFICE16前装了X11,但是为啥要卸载...




欢迎光临 TGFC Lifestyle (http://club.tgfcer.com/) Powered by Discuz! 6.0.0