Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 322
fangsterr Avatar asked Feb 08 '12 07:02

fangsterr


People also ask

How do I remove Gcloud SDK?

For installations completed using an OS package (such as apt-get or yum ), uninstall gcloud CLI using the OS package manager. For Windows installations, execute the uninstaller.exe file in your gcloud CLI directory. Delete both of these directories. Additionally, remove lines sourcing completion.

How do I install Google App Engine SDK?

Download and InstallDownload the Windows installer and double-click on the GoogleApplicationEngine installer; the setup wizard will launch, as shown in Figure A-2. Click through the installation wizard, which should install App Engine. If you do not have Python 2.5, it will install Python 2.5 as well.

How do I get rid of default App Engine in GCP?

The only way you can delete the default version of your App Engine app is by deleting your project. However, you can stop the default version in the GCP Console. This action shuts down all instances associated with the version. You can restart these instances later if needed.


3 Answers

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

like image 124
hansaplast Avatar answered Oct 02 '22 08:10

hansaplast


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 
like image 24
Marvin Pinto Avatar answered Oct 02 '22 09:10

Marvin Pinto


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.

like image 27
L.H Avatar answered Oct 02 '22 09:10

L.H