In this tutorial, you will learn how to install Google Chrome browser on Debian 12.
Google Chrome is the most popular web browser that you can use on any operating system.
Google chrome package is available on Debian 12 repositories, and you can install Google chrome easily from your terminal. However, in this tutorial, we'll be installing Google chrome from the official Chrome repository.
Install Chrome on Debian 12
Step 1 - Add Chrome GPG Key
Before installing Google chrome on Debian 12, you need to import its GPG key on your system.
To do this, you can use wget package and apt-key command to add this key on your machine.
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Step 2 - Add Chrome Repository
To be able to download google-chrome-stable package from your terminal, you need to add the official Google Chrome repository on your machine.
To add Google chrome repository, run the command below
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
The command above, will create Chrome repository on your sources directory /etc/apt/sources.list.d
Step 4 - Enable Chrome Repository
Once you have imported GPG key, and added Google Chrome repository on your machine, now you need to perform a system update, so that Google chrome repository that you created can be used to download Chrome.
Run the following to update your system and enable Chrome repository
sudo apt update
Step 5 - Install Google Chrome
Now you can use your terminal, and install Google Chrome directly from your terminal.
To install Google Chrome, run the following command
sudo apt-get install google-chrome-stable
Step 6 - Use Google Chrome
Google Chrome can be launched from the terminal, or using GUI. To launch Google Chrome via the terminal run the command below
google-chrome-stable
To launch Google Chrome using GUI, click to Activities Overview button, and then look for the Google Chrome on the apps. Alternatively, you can search for "Google Chrome" on applications menu if you have a lot of apps and you are having trouble finding it.
Uninstall Google Chrome
To uninstall Google Chrome from your system, you can remove google-chrome-stable
package using the remove option
sudo apt remove google-chrome-stable --purge
Conclusion
In this tutorial, you learned how to install Google Chrome on Debian 12. In this tutorial, we installed Google Chrome using the official Google Chrome repository for Debian based linux distros.