How to Install/Update Latest Chrome on Ubuntu Linux

In this guide, I'm going to show you how to Install the latest Chrome and run it from Terminal on Ubuntu Linux. If you are open source fan, use Chromium which is the open source version of proprietary Google Chrome browser. Few differences exist between Chome and Chromium web browsers. The Google Update daemon which automatically updates Chrome to the latest version is not available for Chromium. Also, Chrome adds non-free codes like AAC, MP3, and H.264. These codecs are not available on Chromium. Chromium only includes limited support for HTML5 audio/video codec to what is available as non-proprietary codecs like WebM, Theora, VP9, etc.

We are going to install, run, update and uninstall Chrome using the terminal on Ubuntu 18.04, CentOS 7  and Arch Linux.

Install and Update Google Chrome on Ubuntu 18.04

a) Using Google repositories

For the terminal centric users, you can easily install latest Google Chrome browser using the official Google repositories. For doing this, create file named "google-chrome.list" in the "/etc/apt/sources.list.d" directory.

But first, you need to add the repository and install apt-key, use the commands:

Type in terminal the following command

sudo vim /etc/apt/sources.list.d/google-chrome.list

and add the following content into that file

deb stable main

use below one-liner

$ sudo sh -c 'echo "deb [arch=amd64] stable main" >> /etc/apt/sources.list.d/google-chrome.list'

After adding Google repository to your sources, you need to get repository key with the following command

wget -q -O - | sudo apt-key add -

Update your sources by running the following command

sudo apt-get update

If all steps mentioned above are done, you can install Google Chrome using apt command.

sudo apt-get install google-chrome-stable

Note that you can also install beta and unstable versions of Chrome using the same repository. To do that use the following commands.

For beta:

sudo apt-get install google-chrome-beta

For unstable version of Chrome

sudo apt-get install google-chrome-unstable

Now you can run Chrome from terminal by running the following command

google-chrome &

This will run Google Chrome in background.

If you have already installed Google Chrome via apt and you want to upgrade to the latest version you can type the latest version install command in your terminal:

sudo apt-get install google-chrome-stable

or update your system by the following command

sudo apt-get update

b) Manually download Debian package

The easiest and most user-friendly way to install Chrome on Ubuntu is to download the .deb package from the official website and install it using the dpkg package manager for Debian based systems. Download Chrome installer from the link. Once you download the package, install it using

sudo dpkg -i google-chrome*.deb
sudo apt-get install -f

After this steps you can run Google Chrome via terminal by the command below:



google-chrome &

to run Chrome in background.

The installation process will add a PPA to your system so Google Chrome will receive the latest updates whenever you update your system.

To remove Google Chrome from your system type the command below:

sudo apt remove google-chrome-stable

Install Flash Player on Ubuntu

The flashplugin-installer package provides the NPAPI plug-in for Firefox and Chromium. To install  Adobe Flash Plugin, you need to enable Canonical Partner repository which offers some proprietary applications that don't cost any money to use but are closed source.

# echo "deb xenial partner" >> /etc/apt/sources.list
# apt-get update 
# apt-get install adobe-flashplugin

Install Chromium on Ubuntu

Since Chromium is an open source version of Chrome, its packages are distributed through official Ubuntu upstream repositories. You just need to update your apt cache index and install it. Use the commands:

$ sudo apt-get update
$ sudo apt-get install chromium-browser

If you need Pepper Flash Player - browser plugin

$ sudo apt-get install flashplugin-installer pepperflashplugin-nonfree

Chromium browser can easily be upgraded by running the commands:

$ sudo apt-get update
$ sudo apt-get upgrade chromium-browser

Install and Update Google Chrome on CentOS 7

To get the latest version of Chrome on your CentOS you need to add Google yum repository to your repos. To do this create file named google-chrome.repo in the /etc/yum.repos.d/ directory. Type in terminal the following command

sudo vim /etc/yum.repos.d/google-chrome.repo

Add the following lines into the file and save


After repository is enabled in your CentOS 7, you can type the following command to see information about latest stable version of Google Chrome

yum info google-chrome-stable

Output of the command will look like this

Available Packages
Name : google-chrome-stable
Arch : x86_64
Version : 66.0.3359.117
Release : 1
Size : 50 M
Repo : google-chrome/x86_64
Summary : Google Chrome
License : Multiple, see
Description : The web browser from Google
 : Google Chrome is a browser that combines a minimal design with
 : sophisticated technology to make the web faster, safer, and
 : easier.

Record the Version of the latest Google Chrome and proceed to its installation using the following command

sudo yum install google-chrome-stable

This will install the latest stable Google Chrome. Just make sure the outputted version during the installation is the same as the one we saw in info above.

Once the installation process is finished you can open Google Chrome by typing the following command in terminal

google-chrome &

This will run the browser in background.

To upgrade already installed Google Chrome to the latest version, just type the install command in your terminal:

sudo yum install google-chrome-stable

Install and Update Google Chrome on ArchLinux

In ArchLinux the installation process of Google Chrome differs from CentOS and Ubuntu. You need to install the google-chrome package from AUR (Arch User Repository). To do this we need to find snapshot download URL of google-chrome package on AUR website. On the website, search for the desired package and find "Download snapshot". Copy link address by right clicking on the link. Then, using wget command, download the snapshot to your ArchLinux machine. For Google Chrome the command looks like this:


Uncompress the downloaded tar.gz file using the following command:

tar -xvzf google-chrome.tar.gz

and change the working directory to newly created one:

cd google-chrome

Use the following command to compile the package:

makepkg -s

After compile, you will have file with .xz extension in your directory. Type ls to view the content of the directory.

Now you can install Google Chrome with the following command:

sudo pacman -U google-chrome-66.0.3359.117-1-x86_64.pkg.tar.xz

To run Google Chrome on ArchLinux from terminal you must type:


To remove Chrome from ArchLinux, run the following command in the terminal:

sudo pacman -R google-chrome

Google doesn't allow you to install older versions of the browser while you can download and install older versions of Firefox if you need it for any reason (e.g. testing webpage view in random browser versions). Hope this guide was helpful, if you encounter any issues, drop a comment and we'll be ready to help.

Josphat Mutai 12:05 am

About Josphat Mutai

Red Hat Certified Engineer with more than 2 years experience managing critical Cloud Infrastructures and Services. Passionate about Technology and loves testing and reviewing gadgets and Open-source tools.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.