Created
February 2, 2017 14:36
-
-
Save markwu/73654de51e49c1eecc6f480b90ef935d to your computer and use it in GitHub Desktop.
Uninstall XQuartz.app from OSX Yosemite/El Capitan/Sierra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 && \ | |
| rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \ | |
| rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment