fangsterr
fangsterr

Reputation: 3830

How Do I uninstall Google App Engine SDK

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?

Upvotes: 30

Views: 16528

Answers (5)

Nivedita Gopal
Nivedita Gopal

Reputation: 7

To Uninstall google app engine from Windows and re install it go to Control Panel -> Uninstall programs -> Google App Engine. The program will be uninstalled. Now in search bar in Windows, type google app engine... if you get any related files go to that folder and delete it from there also. This results in successful Uninstall.After this if you wish you can re-install it.

Upvotes: -1

L.H
L.H

Reputation: 41

In Mac Terminal by typing:

$ sudo gcloud components list

You get a list of what you installed and not installed:

The following are the components available through the Google Cloud 
SDK.  You may choose to install one or more of the pre-configured 
packages (which contain everything you need to get started), and/or 
any of the individual components below.
......
| Not Installed | gcloud app Python Extensions                  | app-engine-python           |   6.6 MB |
| Installed     | BigQuery Command Line Tool                    | bq                          |   < 1 MB |
| Installed     | Cloud DNS Admin Command Line Interface        | dns                         |   < 1 MB |
| Installed     | Cloud SDK Core Libraries                      | core                        |   1.3 MB |
| Installed     | Cloud SQL Admin Command Line Interface        | sql                         |   < 1 MB |
| Installed     | Cloud Storage Command Line Tool               | gsutil                      |   3.0 MB |
| Installed     | Compute Engine Command Line Interface         | compute                     |   < 1 MB |
| Installed     | Compute Engine Command Line Tool (deprecated) | gcutil                      |   < 1 MB |
......

The last column of the above list contains COMPONENT_IDs(..., "app-engine-python", "bq", "dns", ...)."age-java" is one of the COMPONENT_IDs, which I did not shown in the above list.

To remove an installed component, use its COMPONENT_ID. For example, to remove gae-java, you say:

$ sudo gcloud components remove gae-java

And gae sdk for java will be removed:

The following components will be removed:
-------------------------------------------------------------------
| App Engine SDK for Java                     | 1.9.17 | 161.2 MB |
| App Engine SDK for Java (Platform Specific) | 1.9.10 |   < 1 MB |
-------------------------------------------------------------------

Do you want to continue (Y/n)?  Y

|- Creating update staging area                             -|
|============================================================|

|- Uninstalling: App Engine SDK for Java                    -|
|============================================================|
|- Uninstalling: App Engine SDK for Java (Platform Speci... -|
|============================================================|

Creating backup and activating new installation...

Done!

Not sure if it is what you are looking for. Hope this helps.

Upvotes: 4

Jorge
Jorge

Reputation: 1730

Just delete the google-cloud-sdk folder.

EDIT:

As I can understand, previous answers are to disable automatic updating, but this will also affect other google applications like google chrome, for which you might probably will not want to do that, though.

During installation '.bash_profile' gets written with something like:

# The next line updates PATH for the Google Cloud SDK.
source '/Users/<your_name>/google-cloud-sdk/path.bash.inc'

# The next line enables bash completion for gcloud.
source '/Users/<your_name>/google-cloud-sdk/completion.bash.inc'

So in conclusion, just delete the folder which most probably will be located in your root, unless you specified something else during installation.

Upvotes: 1

hansaplast
hansaplast

Reputation: 11593

I installed Google App Engine without any Google Updater (December 2012). To remove all files which GAE installed run this:

rm -rf /Applications/GoogleAppEngineLauncher.app 
sudo find -L /usr/local/bin -type l -exec rm -- {} +
sudo rm /usr/local/google_appengine

The first line depends on the location of your GoogleAppEngineLauncher of course. The second line removes all invalid symlinks of the /usr/local/bin directory

Upvotes: 39

Marvin Pinto
Marvin Pinto

Reputation: 31038

If you only wish to disable the the App Engine autoupdate feature, do the following (source):

Either delete the file:

~/Library/Preferences/com.google.Keystone.Agent.plist

Or add a new Disabled property to it (if you wish to keep the file):

<key>Disabled</key>
<true/>

If you wish to uninstall Google Software Update completely, do the following (source):

  1. Uninstall any Google programs you currently have installed on your computer.

  2. Open a Terminal window by going to Applications > Utilities in Finder.

  3. 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:

plutil -convert xml1 some_file.plist

From XML to binary:

plutil -convert binary1 some_other_file.plist

Upvotes: 33

Related Questions