How to Install and Use Google Chrome Web Browser on Debian 12

With the speed and add-on features, the web browser known as “Google Chrome” is much popular among internet users. It uses the “Blink Rendering Engine” due to which it loads the URL pages at a quick speed. 

Google Chrome can be downloaded on different OS including Linux, MacOS, and Android. This blog will walk through the installation methods of Google Chrome on Debian 12. 

What are the Google Chrome Installation Methods for Debian 12?

Different installation methods of Google Chrome on Debian 12 are:

  1. By adding the Google Chrome repository
  2. By using the flathub package
  3. By using the deb package

All the above methods are explained in the step-by-step guide. 

Method 1: Install Google Chrome on Debian 12 by Using Adding its Repository

The first method is by adding the repository of Google Chrome on Debian 12 and then installing it using the package manager. 

Follow the instructions mentioned below to install Google Chrome. 

Step 1: Add the GPG Key of Google Chrome

First use the following command to add Google Chrome’s GPG key to Debian 12

$ curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg >> /dev/null
Install and Use Google Chrome Web Browser on Debian 12 a

Step 2: Add the Repository

To add the Google Chrome’s repository to Debian 12, use the following command after entering the GPG key:

$ echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
Install and Use Google Chrome Web Browser on Debian 12 b

Step 3: Update the Debian 12 Repository

Now, update all the packages of the Debian 12 repository with the execution of the command:

$ sudo apt update
Install and Use Google Chrome Web Browser on Debian 12 c

Step 4: Install Google Chrome on Debian 12

Finally, install Google Chrome from the added repository. Use the “install” option of the apt package manager for the installation of the Google Chrome on Debian 12:

$ sudo apt install google-chrome-stable -y
Install and Use Google Chrome Web Browser on Debian 12 d

The stable version of Google Chrome has been installed on Debian 12. 

What is the Method to Uninstall Google Chrome on Debian 12?

Uninstall Google Chrome on Debian 12 by using the purge option of the apt package manager:

$ sudo apt purge google-chrome-stable -y
Install and Use Google Chrome Web Browser on Debian 12 e

Method 2: Install Google Chrome by Using the Flathub Package

Flathub contains hundreds of Linux packages. To install the flathub package on Debian 12, install the flatpak package manager by using the command:

$ sudo apt install flatpak -y
Install and Use Google Chrome Web Browser on Debian 12 f

Now follow the steps mentioned below to download and install Google Chrome from Flathub.

Step 1: Download and Install Google Chrome 

First download and install Google Chrome from the flathub using the flatpak command utility:

$ flatpak install flathub com.google.Chrome
Install and Use Google Chrome Web Browser on Debian 12 g
Install and Use Google Chrome Web Browser on Debian 12 h
Install and Use Google Chrome Web Browser on Debian 12 i

Step 2: Run Google Chrome 

Now, run Google Chrome using the flatpak command utility:

$ flatpak run com.google.Chrome
Install and Use Google Chrome Web Browser on Debian 12 j
Install and Use Google Chrome Web Browser on Debian 12 k

How can Google Chrome be Removed from Debian 12?

To remove Google Chrome on Debian 12, use the flatpak command utility:

$ flatpak uninstall flathub com.google.Chrome
Install and Use Google Chrome Web Browser on Debian 12 l

Google Chrome has been successfully uninstalled on Debian 12. 

Method 3: Install Google Chrome by Using the deb Package

The last method is by downloading Google Chrome from its official website. To use this method, execute the below-mentioned instructions.

Step 1: Open the Firefox Web Browser

Open the default web browser of Debian 12, Firefox by clicking on it:

Install and Use Google Chrome Web Browser on Debian 12 m

Step 2: Open the Google Chrome Website

Now open the URL of the official website of Google Chrome and navigate to its “Download” section:

Install and Use Google Chrome Web Browser on Debian 12 n

Step 3: Download the Installation File of Google Chrome

To download the installation file of Google Chrome, click on the “Download the installation file”:

Install and Use Google Chrome Web Browser on Debian 12 o

Step 4: Download the Google Chrome

Now click on the “Download Chrome” button to start its download:

Install and Use Google Chrome Web Browser on Debian 12 p

Step 5: Choose the Package Type

As Google Chrome is being downloaded on Debian, choose the “deb” package and then click on the button of “Accept and Install”:

Install and Use Google Chrome Web Browser on Debian 12 q

Step 6: Verify the Download

Verify that the downloading was successful by going to the “Downloads” directory and listing the files there:

$ cd Downloads && ls
Install and Use Google Chrome Web Browser on Debian 12 r

Step 6: Install the Google Chrome on Debian 12

Now using the dpkg package manager, install the downloaded Debian package of Google Chrome:

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

The package has been downloaded successfully. 

How Does Google Chrome Works on Debian 12?

To use Google Chrome on Debian 12, find “Google Chrome” on the search bar of applications:

Set Google Chrome as the default web browser of Debian 12:

Simply open the URL of the itslinuxfoss website on Google Chrome:

This way users can navigate to their favorite URLs using Google Chrome. 

Conclusion

To install Google Chrome on Debian 12, three different methods can be used. By adding the Google Chrome repository, it’s deb or flathub package. All these methods are explained in the step-by-step guide in this post. The usage of Google Chrome is also explained by opening the URL of a website.