How to Install Google Chrome on Ubuntu 22.04

How to Install Google Chrome on Ubuntu 22.04

Chrome is a popular web browser developed by Google. It was first released in 2008 and is now available for Windows, Linux, Mac, iOS, and Android. It is a default browser for Android, an operating system for smartphones. According to a recent survey, 67% of the users use Google Chrome on their personal computers while 65% of the users use it on their smartphones. Google Chrome is written in C, C++, Java, JavaScript, HTML, Assembly, and Python. It is available in 47 languages worldwide.

In this post, I will be illustrating the method of installing Google Chrome on Ubuntu 22.04. There are two methods, I will be covering both.

Let’s move ahead without wasting the time.

Prerequisites

  • Ubuntu 22.04 machine
  • Root account or an account with sudo privileges

Installing Google Chrome on Ubuntu 22.04

Method 1: Using Command Line

Update repository

Fire up the terminal and run the below command to update the repository.

sudo apt update

Download .deb file

Download the .deb package file from Google official web site with the help of the wget command. It is by default placed in the ‘Home’ directory.

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

The output returned will show that the file has been successfully downloaded.

Install Chrome

Once you have downloaded the file, it is now time to install the Chrome browser. Run the following on the terminal.

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

This may take a few minutes to complete. Wait for the installation to Finish.

Run Chrome

Run the command on Ubuntu terminal.

google-chrome

Hurray!! You have successfully installed and launched the chrome browser on your system. Coming up we will install chrome on our system using GUI.

Method 2: Using GUI

In this second method, we will try to install Google Chrome Using Graphical User Interface of Ubuntu 22.04. This method involves the following four steps.

Step 1: Go to Google Chrome official site. Download the .deb file by clicking on the ‘Download’ button. Choose 64-bit.deb (For Debian/Ubuntu). Click ‘Accept and Install’.

Once downloaded you will find the file inside your /home directory.

Step 2: Right-click the file ‘google-chrome-stable_current_amd64.deb ’ and then choose ‘Open With Other Application’. Double click ‘Software Install’.

Step 3. When a new window opens, click the ‘Install’ button.

Step 4. In an authentication window provide sudo password and hit Enter.

Wait for installation to finish. You can check the installation by launching a Google Chrome (using google-chrome command on terminal).

Removing or Uninstalling Google Chrome

You can delete Google Chrome (for whatever reason) using the command line (terminal).

Run the below commands. The commands will remove executable packages and completely wipe out the Google Chrome from your system.

sudo apt remove google-chrome-stable

Followed by

sudo apt autoremove

When you again launch or run the browser via command ‘google-chrome’ you will get the following error showing Google Chrome has been successfully removed.

No such file or directory

Conclusion

That’s it. We have illustrated the methods of installing Google Chrome on Ubuntu 22.04. For more Linux how tos and tutorials, please keep visiting Linux World.