98

I decided to try out Google Chrome and see if it was any different from Chromium, but now I can't figure out how to uninstall it. enter image description here That's what I have installed. How to get rid of it is the question.

Jorge Castro
  • 71,754
Icedrake
  • 3,695
  • It is unfortunate that Ubuntu won't show Chrome in the installed software list or anywhere else when searched as "Chrome", "Google" or "Google Chrome". I HAD to type "google-chrome"... So much for Unity :\ – itsols Oct 25 '13 at 13:38

2 Answers2

157

Run sudo apt-get remove google-chrome-stable in a terminal.

duffydack
  • 7,344
  • will my bookmark and plugins lost after this ? – rab Feb 05 '17 at 07:45
  • 3
    @rab They will stay in ~/.config/google-chrome (not sure about the name), and other browsers should be able to import them. If you reinstall Chrome without deleting this folder, you should see them. – Hey Jan 10 '20 at 21:05
  • Wouldn't it be better to purge? – Baku9 Jan 29 '20 at 10:23
95

It's usually better to purge:

sudo apt-get purge google-chrome-stable

and then

sudo apt-get autoremove

This will make sure you don't have unnecessary packages remaining, and will remove config files, saving a little space and making sure it won't interfere with other programs or future reinstallations.

notablytipsy
  • 2,927
  • 3
    This will not remove the ~/.config/google-chrome, this has to be done manually through rm -rf ~/.config/google-chrome – SidOfc May 17 '20 at 20:38
  • I ran those 3 commands (sudo apt-get purge google-chrome-stable, sudo apt-get autoremove and sudo rm -rf ~/.config/google-chrome), but I still have the downloaded original deb file i.e. google-chrome-stable_83.0.4103.61-1_amd64.deb (size 68,7 MB) in my directory var/cache/apt/archives. How to uninstall / delete it from there ? – Kapel May 22 '20 at 08:51
  • I found the following a command which can delete all files from directory var/cache/apt/archives: sudo apt-get clean. Source: https://www.howtogeek.com/229699/how-to-uninstall-software-using-the-command-line-in-linux – Kapel May 22 '20 at 09:20
  • Is this dpkg: warning: while removing google-chrome-stable, directory '/opt' not empty so not removed warning message normal? – alper Apr 09 '23 at 12:07