How to install or uninstall Google Chrome in Ubuntu 16.04


Since you can't install Google Chrome directly from Ubuntu Software center, check out the simple steps to install Google Chrome on an Ubuntu desktop directly like you do in Windows... albiet with a few differences!

Google Chrome is a freeware and can easily be downloaded and installed on a Ubuntu machine. It is just that this cannot be done from the Ubuntu Software Center and rather has to be done by downloading the installer locally and then installing it, all this will command line. Don't fret though, you don't need to know any technical terms or coding to do this. Just follow a few simple steps mentioned below and before you know it Google Chrome browser will be open on your system ready to serve. Before we proceed, you need to know that Google Chrome can be installed only on 64-bit computers. To check if your system is 64 bit or not, click on the Power button at the top right corner and go to "About This Computer". The Overview section will show you the basic details of your system which will also include the details about the bit version of your PC.

Install Google Chrome in Ubuntu 16.04


  1. Open Terminal. You can use the "Search Your Computer" feature present in the left top corner to launch the Terminal or you can just use the combination "Ctrl+Alt+T".
    Search for terminal

  2. First you need to setup the key. To do this, in the Terminal paste this and enter:
    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

    You should get a response "OK" as shown in the image.Step 1

  3. Now setup the repository with the below command:
    sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    This won't give you any return response but that is okay.

  4. Now, to install the Chrome browser enter the below 2 commands in the terminal:
    sudo apt-get update
    sudo apt-get install google-chrome-stable
    You Terminal should something like the image below. The downloaded file will be around 56 MB and will install itself once the second command is issued.Step 3

  5. To launch Chrome browser, use the command:
    google-chrome 
    You browser should like the image below.Chrome browser Ubuntu 16.04

If you plan to use Chrome frequently then you should also consider adding the shortcut for it in the Unity bar (side menu bar). To do this, when you the browser is launched from the Terminal, you should be able to see the Chrome logo in the Unity bar. Right click on it and select the "Lock to Launcher" option.

Uninstall Google Chrome from Ubuntu 16.04


To uninstall Google Chrome from your Ubuntu machine just enter 2 commands in the Terminal:
sudo apt-get purge google-chrome-stable
sudo apt-get autoremove

The first command will do the uninstallation of Google Chrome but will leave some configuration related files on your system. The left over files can take some space, if you don't plan on installing the Chrome browser again soon then you can issue the second command too which will take care of the left over files and will delete it from the system doing a clean uninstall.


Related Articles

How to install Ubuntu Linux on Mac OS

Are you trying to install Ubuntu in Apple Mac OS? Follow the instructions mentioned in the article to install Ubuntu Linux operating system on a MAC computer.

More articles: Ubuntu Linux Google Chrome

Comments

Guest Author: nishant05 Apr 2018

When I use the last command, the terminal shows unmet dependencies, what to do after that?

Guest Author: nishant05 Apr 2018

I was running these commands with google chrome already there , so I uninstalled the previous version that was not working, but now, the terminal says that it could not find the file google-chrome-stable

Author: Ankit17 Apr 2018 Member Level: Diamond   Points : 0

Nishant,
You need to share the exact message so I know the exact problem.
A generic suggestion would be to run this: sudo apt-get update && sudo apt-get install -f
This should resolve the dependencies and complete the installation

Guest Author: hhtmp8821 Apr 2018

Dear Ankit,
I followed your instruction to install Chrome in ZorinOS 12.2 (based on Ubuntu 16.04 core and GNOME Desktop), when I execute the command "sudo apt update", a very long list of messages are displayed. This long messages including the following warning of Google Chrome:

=============================
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:2

W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:2
....
=====================================================

These messages still persist, even thought, I uninstalled chrome and re-install it!

So what should I do so that these messages can be resolved.
Why these messages displayed?

Thanks!



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: