Looking for an answer to how do I install Google Chrome browser in Ubuntu 22.04 Jammy Jelly Fish or Ubuntu 20.04 Focal fossa? Then here are the commands to follow. Chrome is the free internet browser from Google and with its search engine as default. It is currently one of the popular and most widely used browsers in the world, ahead of Mozilla Firefox and Microsoft Internet Explorer (Edge). In terms of function and security, Google Chrome is well-positioned.
Although Firefox is the default browser in Ubuntu, those who are not a fan of it and want Chrome can switch to it any time. The easiest possible methods are here.
Steps to install Google Chrome on Ubuntu 22.04 | 20.04 LTS
Note: I recommend you to go for the second method. It is easy and automatically adds the repository to the system, hence reducing the hassle.
1 method# By manually adding the repository
Add Chrome GPG Key
As the Chrome browser is a proprietary application, hence it is not available to install using the default system repository either of Ubuntu 22.04 or 20.04. For that, we need to add one manually. However, before that add the GPG key used to sign the packages of Chrome browser available via its repository. Without this key, our system will not fetch the packages from the repo we will add in the next step.
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Add Google Chrome repository on Ubuntu 22.04 | 20.04
Now, we have the GPG key, let’s add the official repository provided by Google to deliver Debian Linux-based package meant to install their Chrome browser.
Copy-paste and hit the Enter key.
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> \ /etc/apt/sources.list.d/google.list'
Update APT cache
Next, run the system update command that will refresh the system repository cache to rebuild it again. So that our system can recognize the packages available through our newly added Chrome repository.
sudo apt update
Command to install Chrome on Ubuntu 22.04 | 20.04
All the required steps we need to install Google’s Chrome are now on our system. We just need to run the given APT command to install it on our Ubuntu 22.04 or 20.04 LTS.
sudo apt install google-chrome-stable
sudo rm /etc/apt/sources.list.d/google.list
Run the browser
Go to Application Launcher and search for the browser. As you see the icon of Chrome, click to run the same. During the launch, it will ask you to set up the browser as the system default, do as you wish.
2#- Using Debian Binary
Install Chrome via Binary
Using binary will automatically add the repository of Chrome, hence we just need to run a few commands given below on Ubuntu 22.04|20.04|18.04 including Linux Mint, Debian, and other similar systems.
System update and install
sudo apt update && sudo apt install wget
Download Debian Binary
sudo apt install ./google-chrome-stable_current_amd64.deb
That’s it. You have successfully installed Google’s Chrome browser on your Ubuntu or Debian-based Linux system using the above-given commands.