How to remove Google Software Update from Mac OSX?

31

16

I briefly installed Chrome on OSX Mavericks. I hated using Chrome, and deleted it. My user account "manages" web browsing for me, so only websites authorised by me are allowed access. I do this so I can keep track of which websites software installed on my Mac are really accessing.

To my surprise, "Google Software Update" seems to be installed on my Mac, and is trying to connect to google analytics. I deleted Chrome, so I don't see why this should be installed.

Using Finder, I can't find any "Google" software using the search feature.

How can I remove this ? I feel it is a violation of my privacy, considering I removed Chrome.

Kaizer Sozay

Posted 2014-03-19T04:29:04.153

Reputation: 975

I have the directory ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resour‌​ces/GoogleSoftwareUpdateAgent.app/Contents/Resources/, but it doesn't contain install.py. What should I do? – ma11hew28 – 2014-11-12T04:08:18.383

1@MattDiPasquale: checkmy answer below, I have stated what is the new command. – Henrique de Sousa – 2015-01-27T00:26:01.283

This seems to be very version-specific, so people answering or commenting on this, please state whether your comment applies to 10.8, 10.9 or 10.10 – smci – 2016-09-14T17:32:42.500

According to the Google Updater for the Mac FAQs page, “Google Updater for Mac has been retired”. I think that means after you uninstall it once, it won’t be reinstalled – you don’t have to lock folders or anything to prevent it from coming back.

– Rory O'Kane – 2019-04-06T06:51:11.000

@RoryO'Kane Tanks dawg. But after exercising the nuclear option their ain’t no chance of it ever coming back! XD – Kaizer Sozay – 2019-04-06T08:26:14.120

3

More seriously, according to this page, the command to do it is sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

– kinokijuf – 2014-03-19T06:47:21.353

2Thanks. They are completely evil. I'm never going to install google software again. – Kaizer Sozay – 2014-03-19T14:27:29.407

Answers

33

The new command is now the following:

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

This was an older command:

sudo ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resour‌​ces/GoogleSoftwareUpdateAgent.app/Contents/Resources/ksinstall --uninstall

In the older command above, you may prefer to replace the --uninstall with the --nuke option. The former supposedly leaves some files, while the latter removes them.

Alternatively, Google Software Update might be installed within /Library/, in which case it can be removed with:

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

Henrique de Sousa

Posted 2014-03-19T04:29:04.153

Reputation: 733

As of OS X Yosemite 10.10.2, this does not work. Google must have renamed something. – Chuck Krutsinger – 2015-03-24T22:26:45.023

1Why the downvote? I have reinstalled Yosemite 10.10.2 last week and I still haven't redone the process. So now I have just tried the uninstall process and it's still working!! So please, try again, this time type the command instead of copy/pasting it, and upvote again, because it IS working! I'm using Chrome 41, and to test it, just do "About Chrome" and update process will fail. – Henrique de Sousa – 2015-03-24T22:49:11.917

Henrique - I did not down vote you. I simply left my comment there for future searches. I have already uninstalled Chrome. But before I did, there was no kinstall program. I guess our two systems are just different. Apologies for any confusion. – Chuck Krutsinger – 2015-03-24T23:44:35.370

I'm sorry for the confusion. I did reinstall Yosemite 10.10.2 a week ago and installed Chrome 41 Stable Release. If you wish, you can find the kinstall by performing the following command: find / -name kinstall – Henrique de Sousa – 2015-03-25T00:07:05.163

It seems as though google renamed the file to ksinstall . – Mixologic – 2015-04-05T18:42:47.897

worked for me, but you need to take care just copy pasting it, on my system it just added a few spaces in the path. Changed /Resources/ to /Resou rces/ – Karl Adler – 2015-05-05T08:53:03.407

command not found – User – 2015-11-03T18:17:06.610

I just confirmed this xmas eve, and it is working! – Henrique de Sousa – 2015-12-25T04:11:03.773

1This is correct for Mac OSX 10.11.2. Use the --nuke option instead of --install to get rid of everything. Then remove the ~/Library/Google directory. – Mo'in – 2016-01-25T18:58:02.483

It's worth noting that if you continue to use Chrome, GoogleSoftwareUpdate will just reinstall itself. I use Chrome but wanted it without the spyware. Guess that's not possible – billynoah – 2016-08-11T13:05:59.260

1I woke up today and my Mac was shutdown. This was the second time in a few days. The last thing in the system log was GoogleSoftwareUpdate. So I did: /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/ksinstall --nuke. I'm on 10.12 (Sierra). I shutdown and rebooted. Things appear fine. – pedz – 2017-01-17T14:41:13.927

5Run touch ~/Library/Google/GoogleSoftwareUpdate && sudo chown -R root:wheel ~/Library/Google after running the --nuke command above. This replaces the updater directory with a file and locks your user out of it, which will now prevent Chrome bringing it back. The chown might be overkill, but it does give good assurance nothing is messing with that file. – davidjb – 2017-04-11T00:34:44.270

Oddly enough, copy-pasting the command didn't work for me. But dragging the ksinstall file in the terminal worked, even though they appear to be the same path. Could it be some strange invisible ASCII character in the answer? – Andrea Lazzarotto – 2017-07-30T13:34:47.460

New location/script: sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --nuke – jhfrontz – 2018-07-17T16:45:51.443

@HenriquedeSousa @jhfrontz Does this answer need to be edited to have --nuke or --uninstall in the first line? Right now it ends with install.py – beroe – 2019-03-07T14:58:47.797

1@beroe I don't think there's a definitive answer; which command/options to use seems to be a moving target that depends on the version of various components and the whim of google. – jhfrontz – 2019-03-07T15:22:51.707

7

On their official help page, they only mention disabling the checks:

To disable Google Software Update from checking for updates, execute the following in the Terminal application:

$ defaults write com.google.Keystone.Agent checkInterval 0

lkraider

Posted 2014-03-19T04:29:04.153

Reputation: 171

This doesn't disabled the auto update of Chrome on my system. Would be nice to find another working solution without uninstalling update service – Karl Adler – 2015-05-05T08:54:44.807

1If you go to “About Google Chrome” info window it will still check then, but it shouldn't run automatically anymore in the background. – lkraider – 2015-05-05T16:58:48.507

2but it does. Have you tested on OSX 10.10? – Karl Adler – 2015-05-05T20:05:56.713

No, I am running 10.9 only. – lkraider – 2015-05-06T15:21:15.323

People commenting here, please state whether your comment applies to 10.8, 10.9 or 10.10 – smci – 2016-09-14T17:27:49.530

5

Success on a Mac Sept 29, 2017:

The "official" Google-given method given to stop the Google Software Update is this, but it doesn't always work. The updater sometimes, on some systems, finds a way to reset itself and update anyway. In Terminal: defaults write com.google.Keystone.Agent checkInterval 0

The most foolproof method is to deny Chrome the permissions it needs to install the update software and run it. Empty these directories: /Library/Google/GoogleSoftwareUpdate/ ~/Library/Google/GoogleSoftwareUpdate/

Then change the permissions on both folders named GoogleSoftwareUpdate so that there's no owner and no read/write/execute permissions.

In terminal:

cd /Library/Google/
sudo chown nobody:nogroup GoogleSoftwareUpdate
sudo chmod 000 GoogleSoftwareUpdate
cd ~/Library/Google/
sudo chown nobody:nogroup GoogleSoftwareUpdate
sudo chmod 000 GoogleSoftwareUpdate

If you want to be double-certain, then do the same for the folder Google one level up.

cd /Library/
sudo chown nobody:nogroup Google
sudo chmod 000 Google
cd ~/Library/
sudo chown nobody:nogroup Google
sudo chmod 000 Google

I did this immediately after installing the Chrome version I need for my machine, and it worked perfectly. Now when I check About Google Chrome it gives me the error "Update failed (error: 10)" It's still trying to update, but it can't do it any more.

Jeremy Borum

Posted 2014-03-19T04:29:04.153

Reputation: 51

4

Use --help to see the various ksinstall options, i.e. ksinstall --help

cd ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resour‌​ces/GoogleSoftwareUpdateAgent.app/Contents/Resources/

ksinstall --help

[--install=PKG]     Install keystone using PKG as the source.
[--uninstall]       Remove Keystone program files but do NOT delete
                    the ticket store.
[--nuke]            Remove Keystone and all tickets.
[--interval=N]      Set installed agent to wake up every N seconds.
[--lockdown]        Prevent Keystone from ever uninstalling itself.
[--force]           Perform operation even if it is a downgrade.

Steve

Posted 2014-03-19T04:29:04.153

Reputation: 141

1This doesn't actually answer the question. – DavidPostill – 2016-05-30T12:06:39.223

Or /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/REsources/ksinstall --help for those with GSU installed system-wide. – jhfrontz – 2017-02-14T11:27:00.150

4

In my Mac OS X 10.9.5 ksinstall resides in the main library. The commend is thus:

sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/ksinstall --nuke

Alexander Rutz

Posted 2014-03-19T04:29:04.153

Reputation: 159

This is just a dupe of an answer made about 9 months before.

– JakeGould – 2015-09-19T00:49:16.800