How to Install Google Chrome on Ubuntu 22.04


Google Chrome is an open-source and the most used browsing engine in the computing world. A large community of Linux users does prefer Google Chrome over any other browser. It offers numerous features, including extensions and customization support. Chrome is available for all the famous Linux distributions being used. Being a vast range of users, this post is dedicated to Ubuntu 22.04 users, which is the most recent LTS of Ubuntu. This guide will address the possible methods to install Google Chrome on Ubuntu 22.04.

Method 1: Install Google Chrome on Ubuntu 22.04 From the Official Website

On the official website of Google Chrome, users can obtain the “.deb” package file and use it to install Chrome. Here, a step-by-step process of installation is provided:

Step 1: Download .deb Package File

Go to the official website and copy the link of the latest “.deb file available. The command below will utilize the “wget” utility to download the Debian package file of current stable version:

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

The output shows that the “.deb” file has been downloaded successfully.

How-Install-Google-Chrome-Ubuntu-22-04-1

Note: Alternatively, you can go to the following link and get the latest “.deb” package using GUI:

How-Install-Google-Chrome-Ubuntu-22-04-2

Step 2: Install the “.deb” File

The downloaded file will be available in the “Home” directory by default. In our case, we used the following command to install it on Ubuntu 22.04:

$ sudo apt install ./google-chrome-stable_current_amd64.deb

Note: Alternatively, one can use the “dpkg” manager instead of “apt” to install Google Chrome. To do so, the command will be as written below:

$ sudo dpkg -I google-chrome-stable_current_amd64.deb

Launch Chrome

Once installed successfully, Chrome can be launched via the command provided below:

$ google-chrome

From the above-opened chrome, a pop-up appears named “Set as default” in the orange box, which can be seen in the above image.

How-Install-Google-Chrome-Ubuntu-22-04-2

Note: You can also launch it from the applications menu by searching it:

How-Install-Google-Chrome-Ubuntu-22-04-4

That’s how it can be installed.

Method 2: Install Google Chrome on Ubuntu 22.04 Using Chrome Repository

Interestingly, Google Chrome offers repository support to get it on Ubuntu 22.04. The following steps are carried out to install Chrome via its repository.

Step 1: Add the GPG Key of the Repository

The GPG key acts as an approval of the repository on your system. The keys are stored in the “/etc/apt/trusted.gpg.d” file of the Ubuntu. To add the GPG key for the Chrome repository, use the command provided below:

$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmour -o /usr/share/keyrings/google_linux_signing_key.gpg

How-Install-Google-Chrome-Ubuntu-22-04-5

Note: In the earlier days of Ubuntu 22.04, the “GPG” support was limited, and the key was deprecated, which threw a warning. So, make sure the GPG key is not throwing any warning.

Step 2: Add the Chrome Repository

Now, add the Chrome repository on Ubuntu 22.04 by issuing the command stated below:

$ sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google_linux_signing_key.gpg] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list'

How-Install-Google-Chrome-Ubuntu-22-04-6

After doing so, it is recommended to update the system’s packages list by issuing the command provided below:

$ sudo apt update

How-Install-Google-Chrome-Ubuntu-22-04-7

Step 3: Install Chrome

Now, it’s time to install Google Chrome. To do so, execute the command provided below in the Linux terminal:

$ sudo apt install google-chrome-stable

How-Install-Google-Chrome-Ubuntu-22-04-8

Launch Chrome

To launch Chrome, launch it through the terminal via the command written below:

$ google-chrome-stable

How-Install-Google-Chrome-Ubuntu-22-04-9

Or you can launch Chrome by opening the applications menu (using the shortcut “SuperKey+A”) and searching for “google chrome”.

Note: It is recommended to use only one method to install Google Chrome. As both methods depend on the same repository.

How to Uninstall Google Chrome From Ubuntu 22.04?

Both methods refer to the apt package manager, i.e., the first and second methods utilize the apt to install Chrome. So, to remove chrome from Ubuntu 22.04, you need to execute the following command in the terminal:

$ sudo apt remove google-chrome-stable

How-Install-Google-Chrome-Ubuntu-22-04-10

This command will remove only the executable packages of Chrome, while the packages that were installed automatically with Chrome will not be removed. To remove them, use the “autoremove” functionality as follows:

$ sudo apt autoremove

These were the methods to install Google Chrome on Ubuntu 22.04.

Conclusion

Google Chrome can be installed on Ubuntu 22.04 via the Debian Package file obtained from the official website. Moreover, it can also be obtained by adding a Chrome repository (authenticated by a GPG key). You have learned step-by-step procedures of both methods. Apart from that, the uninstallation methods have also been explained.

Print Friendly, PDF & Email
Categories