How to Install Google Chrome in Ubuntu 20.04 via Official Repository

Last updated: April 3, 2024

This quick tutorial shows how to install the latest Google Chrome web browser, and keep it up-to-date, in Ubuntu 20.04 via the official Google repository.

Note: if you hate Linux command line, you may download and install the .deb package from Google Chrome site via a web browser.

1. Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching for ‘terminal’ from system application menu.

2. When terminal opens, run command to install the key:

wget -qO - | gpg --dearmor | sudo tee /etc/apt/keyrings/google-chrome.gpg

Type user password (no asterisk feedback) for sudo prompts and hit Enter. The terminal should output un-readable text, since the key file is dearmored.

Then add the source repository to your system via command:

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

3. Refresh system package cache and install Google Chrome via commands:

sudo apt update

sudo apt install google-chrome-stable

If a new version is available, you’ll be able to update the browser via Software Updater (Update Manager):


You can remove Google Chrome web browser for any reason by running command in terminal:

sudo apt remove google-chrome-stable

And remove the repository by going to Software & Updates -> Other Software tab.


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee:

4 responses to How to Install Google Chrome in Ubuntu 20.04 via Official Repository

  1. Why can’t Google just make a snap and a flat pack for it already? Am I the only one that wants this?

  2. When I run “sudo apt update” I get this error:

    E: The repository ‘ focal Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    The command to save the apt key worked, so I don’t understand why it’s giving me this error. It does install, but I’m afraid it’s not going to find updates.

    • Search for and open “Software & Updates” from ‘Show Applications’ menu, under “Other Software” tab, edit the repository line for google, and change focal to stable