问题描述
自从我在我的Mac(OS X Lion)上安装Google App Engine启动器后,我一直从Google App Engine SDK收到有关自动更新的定期警报,但我一直无法弄清楚卸载/禁用它。我看了):
删除文件:
〜/ Library / Preferences / com.google.Keystone.Agent.plist
或添加新的已禁用属性(如果您希望保留该文件):
<密钥GT;禁用< /密钥GT;
< true />
如果您希望完全卸载 Google软件更新,请执行以下操作( ):
-
卸载您目前安装在您电脑上的任何Google程序。
打开通过转至应用程序>查找器中的实用程序来查看终端窗口。 -
可以为特定用户或整个系统卸载Google软件更新。在终端中粘贴以下命令之一:
为特定用户卸载:
〜/ Library / Google / GoogleSoftwareUpdate / GoogleSoftwareUpdate.bundle / Contents / Resources / GoogleSoftwareUpdateAgent.app / Contents / Resources / install.py --uninstall
卸载整个系统:(需要root权限):
$ b $ p $ su $ / Library / Google / GoogleSoftwareUpdate / GoogleSoftwareUpdate.bundle / Contents / Resources / GoogleSoftwareUpdateAgent.app / Contents / Resources / install.py --uninstall
请注意,上面列出的两个命令应该在一行上
当然,不用说您可以删除目录您还选择存储App Engine Python SDK。
另请注意,如果您的 .plist 文件采用二进制格式,您需要将其转换为XML,然后在完成后返回( 从二进制文件到XML文件: Ever since I installed the Google App Engine Launcher on my Mac (OS X Lion), I've been getting periodic alerts from the Google App Engine SDK about auto-updating, and I haven't been able to figure out how to uninstall/disable it. I've looked at How do I delete the Google App Engine SDK from my mac? , but I couldn't find the file that was listed in the answer. Any other suggestions? If you only wish to disable the the App Engine autoupdate feature, do the following (source): Either delete the file: Or add a new Disabled property to it (if you wish to keep the file): If you wish to uninstall Google Software Update completely, do the following (source): Uninstall any Google programs you currently have installed on your computer. Open a Terminal window by going to Applications > Utilities in Finder. Google Software Update can be uninstalled for a specific user or for your whole system. Paste one of the following commands in Terminal: Uninstall for a specific user: ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall Uninstall for the whole system: (needs root access): sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall Note that the two commands listed above are supposed to be on one line Of course then it goes without saying that you can delete the directory that you chose to store the App Engine Python SDK. Also note that if your .plist file is in binary format, you'll need to convert it to XML and then back when you're done (source). From binary to XML: From XML to binary: 这篇关于如何卸载Google App Engine SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
plutil -convert xml1 some_file.plist
从XML到二进制: plutil -convert binary1 some_other_file.plist
~/Library/Preferences/com.google.Keystone.Agent.plist
<key>Disabled</key>
<true/>
plutil -convert xml1 some_file.plist
plutil -convert binary1 some_other_file.plist