How do you install Google Chrome on Ubuntu?

  • 15
    Just install Chromium, the open-source (FLOSS) counterpart to Chrome. Basically Google develops Chromium, adds some proprietary features (and likely tracking features) to it and distributes it as "Chrome". So either install Chromium from the software center or just sudo apt-get install chromium. I think that's way easier to install! See also: What's the difference between Chrome and Chromium?
    – rugk
    Commented May 30, 2017 at 13:51
  • 36
    ^ sudo apt-get install chromium-browser
    – cdosborn
    Commented Aug 30, 2017 at 19:08
  • 1
    sudo snap install chromium for the snap inclined
    – arshbot
    Commented May 12, 2020 at 17:41
  • Update: In 2020, the Chromium deb was replaced by a Chromium snap. A Chromium deb still exists, but it's not a browser -- it just installs the Snap. So most of the deb-related Chromium answers below are still valid. This change had NO effect on Chrome, which is still distributed as a deb from Google.
    – user535733
    Commented Oct 30, 2021 at 18:06

7 Answers 7


google-chrome-stable is available on a 3rd Party Repository: Google Chrome (for Stable).

Now that apt-key add is deprecated use this:

  1. Download Key:

    wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O /tmp/google.pub
  2. Make a keyring for chrome:

    gpg --no-default-keyring --keyring /etc/apt/keyrings/google-chrome.gpg --import /tmp/google.pub
  3. Set repository:

    echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
  4. Install package:

    sudo apt-get update 
    sudo apt-get install google-chrome-stable

Follow the instruction for installation with apt-key add:

  1. Add Key:

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
  2. Set repository:

    echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
  3. Install package:

    sudo apt-get update 
    sudo apt-get install google-chrome-stable
  • 7
    It appears that the package from Google adds the Apt source file now, but named "google-chrome.list". Attempting to do an apt-get update will complain about duplicates. If you rename to match, the issue doesn't occur. Commented Nov 11, 2014 at 19:22
  • @Pandya 3 years old but still a good instruction set! Google also provides an https endpoint for downloading. Probably this could be an update to this answer. Commented Dec 18, 2017 at 15:28
  • 4
    Same and confirmed in 2021 by ubuntuupdates.org/ppa/google_chrome Commented Mar 24, 2021 at 4:54
  • Hmmm E: Unable to locate package google-chrome-stable in Ubuntu
    – ruslaniv
    Commented Nov 16, 2023 at 9:34

Video Demonstration

Go to https://www.google.com/intl/en-US/chrome/browser/

Screenshot: Chrome website

Click Download and a small window will pop up with some download options.

Screenshot: Chrome select package

We want the ".deb" for Ubuntu. Make sure this box is checked.

Note: Google no longer provides 32-bit versions for Linux - you are only able to get 64-bit versions for Linux as of at least February 2016

It will give you the option to "Open with..." or "Save File". The default option for "Open with..." is to open via "Software Install". Select this option.

Screenshot: Opening deb dialog

Give your PC a few moments and the ubuntu software center should open up with the .deb file you have downloaded ready to install. (I already have chrome installed) Click the install button and you will be prompted for your password to start the installation. This should take no more that 2mins to install.

Enjoy ;]

Note: Chrome will also be updated through the normal Ubuntu update process so you can expect to grab the latest version when Ubuntu updates.

Screenshot: Google Chrome in Software Center

  • 6
    this is weird ... I though that to get updates you'd need to add a repository ...
    – josinalvo
    Commented Oct 18, 2014 at 0:00
  • 27
    its adds the Google Chrome PPA when you install the package so from then on you get updates as they are released.
    – Klyn
    Commented Oct 18, 2014 at 4:09
  • 5
    If you install things the Windows way, you get viruses. Commented Nov 23, 2015 at 23:49
  • 1
    I do believe it installs under /opt/ in the root
    – Klyn
    Commented Sep 29, 2016 at 18:23
  • 6
    This method used to work fine for Ubuntu 14.04. I recently updated to Ubuntu 16.04 and I am not able to install google chrome. When I press the install button in software center, nothing happens.
    – Mobeen
    Commented Aug 21, 2017 at 1:36

Or if you want the actual Google Chrome, open a terminal and follow:

cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

The 32-bit version is no longer available.

If you encounter any errors simply use

sudo apt-get -f install

To run it from terminal use google-chrome or hit the super key and search Google or Chrome

  • 3
    This no longer works. For one, i386 versions are no longer available. Second, the download links on Google's site are now broken. Commented Mar 8, 2016 at 10:32
  • 4
    The URL to the .deb file has changed, and is now: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    – Taeram
    Commented Mar 31, 2016 at 22:11
  • 4
    Nice. Needed the apt-get portion to finish off the dependencies needed by the chrome package. Commented Sep 23, 2016 at 11:00
  • This is the best and simplest answer from the command line, without needing to use another browser to download. Worked perfectly in 18.04, without needing any additional dependencies.
    – wisbucky
    Commented Dec 8, 2018 at 23:21
  • I got an error when trying to run, [20264:20264:0201/211304.449159:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
    – sree
    Commented Feb 1, 2019 at 8:19

Google Chrome is different from Chromium.

What's the difference between Google Chrome and/or Chromium? What are the advantages/disadvantages to each?

Chromium can be found in the Ubuntu Software Centre. To download Google Chrome however:

  1. Goto: https://www.google.com/intl/en-CA/chrome/browser/

  2. Click Download Chrome

  3. Choose either 32 bit .deb(for 32bit Ubuntu) or 64 bit .deb (for 64bit Ubuntu)

  4. Click Accept and Install

  5. Download .deb file to a folder (Downloads is the default folder)

  6. Open up your Downloads folder.

  7. Double-click the .deb file you just downloaded.

  8. This should launch Ubuntu Software Centre.

  9. When it prompts you to whether you wish to install Chrome, just say yes.

  10. Input Password when asked to install.

When installing the debian package, if you have errors of the sort:

packages have unmet dependencies


package <package-name> is not installed

The following worked for me:

sudo apt-get -f install

The above will install the packages that were not installed but are needed for the debian package.

Now, you should be able to install the debian package via:

sudo dpkg -i <google-chrome>.deb

You can try saving the below script into a file and running it:

if [[ $(getconf LONG_BIT) = "64" ]]
    echo "64bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
    sudo dpkg -i google-chrome-stable_current_amd64.deb &&
    rm -f google-chrome-stable_current_amd64.deb
    echo "32bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
    sudo dpkg -i google-chrome-stable_current_i386.deb &&
    rm -f google-chrome-stable_current_i386.deb

It will automatically detect your architecture and install the proper version of Google Chrome for your system.

Script source here

  • 7
    Again, this is unnecessarily complicated for the everyday user to install Google Chrome with... It's just making things harder than they need to be. Commented Apr 6, 2015 at 5:10
  • 1
    And yet if it was hosted somewhere and he gave a one line Curl command, then it would be exactly how lots of people work.
    – Warren P
    Commented Aug 16, 2015 at 14:50
  • @GregoryOpera Is copy paste enter really all that complicated?
    – mchid
    Commented Jun 23, 2016 at 6:08

Hello people of the Ubuntu Universe, I wrote a c++ program for installing google chrome 64 bit, Pandya's answer is very similiar. I usually write programs to handle anything, that I think I might have to do again in the future! Consequently installing google-chrome is something I've done many times.

If you do not already have build-essential installed as dependency, or c++ (g++) development you must install it first:

:~$ sudo apt-get install build-essential -y

Next copy the following program from this post into gedit and save it as googGt.cpp (change your tab width to 4):

// This googGt.cpp is created to install the google-chrome web browser
// on Ubuntu 14.04 lts 64 bit.
// author@GWade

#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <locale>

using namespace std;

void PrntGoogPpa(ofstream& googPpa);

void PrntGoogGtr(ofstream& googGtr);

void PrntGoogLst(ofstream& gogLst);

int main()

    cout << "Creating the script that adds google-chrome PPA\n" <<endl;

    // create the googPpa.sh shell script
    ofstream googPpa;




    cout << "Changing the mode of access to executable on the script\n" << endl;
    // change mode of access to executable
    system("chmod +x googPpa.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;

    // create an ofstream object and call the function
    cout << "Creating the script that installs google-chrome\n" << endl;
    ofstream googGtr;

    cout << "The googGt.sh script has been created\n" << endl;
    cout << "Changing the mode of access to executable on the script\n" << endl;
    system("chmod +x googGt.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;

    system("rm -rf /etc/apt/sources.list.d/google-chrome.list");

    ofstream googLst;

void PrntGoogPpa(ofstream& googPpa)

    googPpa << "#! /bin/bash\n\nUPD=\"updatedb\"\n" << endl;

    googPpa << "wget -q -O - "
            << "https://dl-ssl.google.com/linux/linux_signing_key.pub"
            << " | sudo apt-key add -" << "\n" << endl;

    googPpa << "echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\""
            << " >> /etc/apt/sources.list.d/google.list\n\n$UPD\n\nexit" << endl; 

void PrntGoogGtr(ofstream& googGtr)
    googGtr << "#! /bin/bash\n\nAPGTN=\"apt-get install\"" << endl;

    googGtr << "APUPD=\"apt-get update\"\nUPD=\"updatedb\"\n" << endl;

    googGtr << "$APUPD\n\n$APGTN google-chrome-stable -y\n" << endl;

    googGtr << "$UPD\n\nexit" << endl;

void PrntGoogLst(ofstream& googLst)

    googLst << "### THIS FILE IS AUTOMATICALLY CONFIGURED ###" << endl;

    googLst << "# You may comment out this entry, but any other modifications"
            << " may be lost." <<endl;

    googLst << "# deb http://dl.google.com/linux/chrome/deb/ stable main" <<endl;


Its nothing spectacular just some function abstraction. Its pretty easy to follow. Once you've copied and saved the program compile from command line:

:~$ g++ googGt.cpp

This create an a.out in the working directory. Next gain root privledges and execute the program.

Gaining root privledges:

:~$ sudo bash

Executing the newly created binary:

:~# ./a.out

The process is pretty straight forward first add the google PPA, then it updates the software sources, then it installs google-chrome, and last but not least it comments out the google-chrome.list url addresses so it doesn't update the 32 bit version as well as 64 bit on subsequent apt-get updates. You will now have the scripts 1) the script that adds the googPpa.sh and 2) the script that installs google-chrome (googGt.sh).


  • 12
    Far too technical for the "Everyday Joe"/"Everyday Sally"... The "usual" method - as described below (with pictures) - is the easier way to install Google Chrome. Commented Apr 6, 2015 at 5:08
  • 15
    May I ask why don't wrote a shell script? Using c++ for that looks weird since are only executing shell commands.
    – hek2mgl
    Commented May 6, 2015 at 11:56
  • Hey, why don't you write a script to install build-essentials first?
    – itsols
    Commented Dec 27, 2015 at 6:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .