Debian and Debian-based Kali Linux come with Firefox as the default web browser. But this does not mean that you cannot install other web browsers in it.
Google Chrome is hugely popular and you probably already use it on other systems. If you want to install Chrome on Debian, you can surely do so.
You won’t find Google Chrome in the repositories of Debian because it is not open source software but you can download and install it from Chrome website.
In this tutorial, I’ll show you two methods of installing Chrome on Debian:
- GUI method
- Command line method
Let’s start with the GUI method first.
Note: I am using Debian in the examples here but since Kali Linux is based on Debian, the same methods are also applicable to Kali Linux.
Method 1: Installing Chrome on Debian Graphically
This is a no-brainer. You go to the Google Chrome website, download the deb file and double lick on it to install it. I am going to show the steps in detail so that it is easy for you to follow it.
Go to Google Chrome’s website.
You’ll see the option to download Google Chrome.
When you click on the download button, it gives you two options for downloading the installer file. Go with the one that says Debian/Ubuntu.
Please note that Google Chrome is NOT available for 32-bit systems.
In the next screen, you should opt for saving the file to the computer instead of opening it in software center for installation. This way, the downloaded file will be saved in the Downloads folder instead of the temp directory.
Go to the Download folders and right click on the downloaded deb file and choose to open it with Software Install.
It will then open the software center and you should see the option to install Chrome now. Click on the install button.
You’ll be asked to enter your account’s password. This is the same password you use to log into your system.
In less than a minute, Google Chrome will be installed. You should see a remove option now which indicates that the software is installed.
Once Chrome is installed on Debian, search for it in the system menu and start it.
It will ask to be your default browser and send the crash reports to Google. You can uncheck either or both options. And then you can see Google Chrome browser window.
If you log into your Google account, you should be able to sync your passwords, bookmarks and other browsing data here. Enjoy it!
Another thing, after installing Chrome, you can delete the downloaded DEB file from your system. It is not needed anymore, not even for uninstalling Chrome.
Method 2: Install Google Chrome on Debian from the terminal
What you just saw above can be easily achieved in the terminal.
First, make sure that your package cache is refreshed and you have wget installed for downloading files from the web in the terminal.
sudo apt update && sudo apt install wget
The next option is to download the .deb file of Google Chrome:
Once downloaded, you can install the deb file in the terminal with apt command like this:
sudo apt install ./google-chrome-stable_current_amd64.deb
Once the installation completes, you can start using Chrome.
Bonus tip: Updating Google Chrome
Both methods add Google’s repository to your system. You can see it in your sources.lis.d directory:
This means that Google Chrome will be updated with other system updates in Debian and Kali Linux. You know how to update your Kali Linux or Debian system in command line? Just use this command:
sudo apt update && sudo apt upgrade -y
Uninstall Google Chrome from your system
Even if you chose to install Chrome on Debian using the GUI method, you’ll have to use the terminal to remove it.
Don’t worry. It’s really just one command:
sudo apt purge google-chrome-stable
Enter your account password when asked. Nothing is displayed on the screen when you type the password. That’s okay. Type it and press enter and confirm the deletion.
Well, that’s about it. I hope you find this tutorial helpful.