How to Install Google Chrome on Ubuntu 20.04

Google Chrome is the most used Internet Explorer software on the earth, with a recent update in 2021 that Chrome is currently the primary browser of more than 2.65 billion internet users. However, as you would know, after installing CentOS 9 Stream, only Mozilla Firefox is packaged with the distribution but luckily, installing Google Chrome is a straightforward task.

In the following tutorial, you will learn how to install Google Chrome in three alternative ways: stable, beta, or unstable versions on Ubuntu 20.04 LTS Focal Fossa.



  • Recommended OS: Ubuntu 20.04.
  • User account: A user account with sudo or root access.

Update Operating System

Update your Ubuntu operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@ubuntu ~]$ sudo whoami

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Ubuntu.

To use the root account, use the following command with the root password to log in.


The tutorial will utilize the terminal interface, which can be found in the show applications menu.


How to Install Linux Kernel 5.16 on Ubuntu 20.04 LTS

Install Required Packages

To successfully install the Google Chrome Browser, you will need to install the following packages; run this command if you are unsure; it will not harm your system.

sudo apt install apt-transport-https ca-certificates curl software-properties-common wget -y

These are pretty generic dependencies that may be already installed. Run the command regardless if unsure, as many other installations will require these on your system.

Install Google Chrome on Ubuntu 20.04

Import Google Chrome GPG Key

The first step in installing Google Chrome is to import the GPG key for the digital signature; without this, your installation will not complete successfully.

To import the GPG key, use the following command:

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

If the key is successfully imported, you will get the following output:


Import Google Chrome Repository

Once the GPG import is complete, you will need to import the Google Chrome repository now as follows:

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

Install Google Chrome – Stable

The next step is to update the repository list using the apt update command to reflect the new additions to the apt sources list.

sudo apt update

Next, install the Google Chrome stable edition, the recommended option for most users.

sudo apt install google-chrome-stable -y

Once installed, verify the version of Google Chrome with the following command:

google-chrome --version

Example output:

Google Chrome 97.0.4692.71

Install Google Chrome Beta / Unstable on Ubuntu 20.04

Alternatively, you can install Google Chrome Beta or Unstable. These two versions are not recommended for daily use, especially not on a main desktop or production server. However, you can install alternative versions for those who want to live on the edge.

To install Google Chrome Beta:

sudo apt install google-chrome-beta -y

To install Google Chrome Unstable (Nightly Build):

sudo apt install google-chrome-unstable -y

Note, these do not replace your stable version, and they are installed separately. To verify the installation of beta or unstable, use the following command.

To verify Google Chrome Beta:

google-chrome-beta --version

Example output:

oogle Chrome 97.0.4692.71 beta

To verify Google Chrome Unstable:

google-chrome-unstable --version

Example output:

Google Chrome 98.0.4758.9 dev

How to Launch Google Chrome

Now that you have installed Chrome, you can launch the application. You can type the following command in the terminal to launch Chrome:


To run Chrome in the background and continue using the terminal:

google-chrome &

However, this is not practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Chrome.

Alternatively, use the search function in the Show Applications menu if you have many applications installed.


How to Install Google Chrome on Ubuntu 20.04

The first time you open Google Chrome, you will be greeted by the following pop up:

How to Install Google Chrome on Ubuntu 20.04

Untick or leave as is with setting Chrome to the default Browser over what is typically Firefox, along with the option of sending Google data and crash reports.

Click the OK button to continue.

Next, you will be prompted to sign in, skip this, or sign in optionally.

Click on the “Get Started”, then you can see the “Skip” in the Chrome Browser tab to skip.


How to Install Google Chrome on Ubuntu 20.04

Once done, you will see The Google Chrome Browser finally as per below:

How to Install Google Chrome on Ubuntu 20.04

Congratulations, you have installed Google Chrome Browser.


How to Update Google Chrome

To update Google Chrome, run the APT update command in your terminal:

sudo apt update

If one is available, use the upgrade option:

sudo apt upgrade

Note this will update all packages (recommended), for example, to upgrade the Chrome package.

sudo apt upgrade google-chrome-stable

How to Remove (Uninstall) Google Chrome

To remove Google Chrome, use the following command:

sudo apt autoremove google-chrome-stable --purge

If you have the beta or unstable builds installed.

To Remove Google Chrome Beta:

sudo apt autoremove google-chrome-beta --purge

To Remove Google Chrome Unstable (Nightly Build):

sudo apt autoremove google-chrome-unstable --purge

To remove the repository, use the following rm command.

sudo rm /etc/apt/sources.list.d/google.*

Comments and Conclusion

In the tutorial, you have learned how to add and import the GPG key and repository, then install Google Chrome’s latest stable or alternative upstream version on Ubuntu 20.04 LTS Focal Fossa.

Overall, Chrome is the most used browser on the planet, with 70% of users using it. Remember, it is probably one of the most targeted Internet Browsers for zero-day exploits. Keep it up to date, and you will be fine.

Notify of
Inline Feedbacks
View all comments
Friday, May 28, 2021 3:48 pm

Thanks for guide my man

Would love your thoughts, please comment.x