如何卸载Google App Engine SDK

fan*_*err 30 macos google-app-engine

自从我在Mac(OS X Lion)上安装了Google App Engine Launcher以来,我一直在收到来自Google App Engine SDK的关于自动更新的定期提醒,但我还是无法弄清楚如何卸载/禁用它.

我看过如何从mac中删除Google App Engine SDK?,但我找不到答案中列出的文件.

还有其他建议吗?

han*_*ast 38

我在没有任何Google Updater的情况下安装了Google App Engine(2012年12月).要删除GAE安装的所有文件,请执行以下操作:

rm -rf /Applications/GoogleAppEngineLauncher.app 
sudo find -L /usr/local/bin -type l -exec rm -- {} +
sudo rm /usr/local/google_appengine
Run Code Online (Sandbox Code Playgroud)

第一行取决于您的GoogleAppEngineLauncher的位置.第二行删除/ usr/local/bin目录的所有无效符号链接


Mar*_*nto 33

如果您只想禁用 App Engine自动更新功能,请执行以下操作():

无论是删除文件:

~/Library/Preferences/com.google.Keystone.Agent.plist
Run Code Online (Sandbox Code Playgroud)

或者Disabled为它添加一个新属性(如果你想保留文件):

<key>Disabled</key>
<true/>
Run Code Online (Sandbox Code Playgroud)

如果您想完全卸载Google软件更新,请执行以下操作(来源):

  1. 卸载计算机上当前安装的所有Google程序.

  2. 通过转到Finder中的Applications> Utilities打开终端窗口.

  3. 可以为特定用户或整个系统卸载Google软件更新.在终端中粘贴以下命令之一:

为特定用户卸载:

~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

卸载整个系统:(需要root访问权限):

sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

请注意,上面列出的两个命令应该在一行上

当然,不用说你可以删除你选择存储App Engine Python SDK的目录.

另请注意,如果您的.plist文件是二进制格式,则需要将其转换为XML,然后在完成后再返回(源代码).

从二进制到XML:

plutil -convert xml1 some_file.plist
Run Code Online (Sandbox Code Playgroud)

从XML到二进制:

plutil -convert binary1 some_other_file.plist
Run Code Online (Sandbox Code Playgroud)

  • 您从未使用的软件的软件更新提醒非常烦人. (2认同)