Kali Linux

How to Install Google Chrome on Kali Linux

Kali Linux is a universally used Linux distribution derived from Debian. It is basically used to audit security and testing. However, most of the time users need to search Kali tools and other guides to operate Kali Linux. For this purpose, Kali provides the default β€œFirefox ESR” browser, but it is not as vast, speedy, and efficient as Chrome Browser.

Google Chrome is one of the vast, efficient, and universally used browsers and search engines. It has one of the larger extension libraries. It provides us with faster and speedy search than any other browser and is available for all major (Linux, Windows, Mac) operating systems. Mostly, users want to install the Chrome browser on Kali Linux. Unfortunately, Kali’s repository does not provide any Chrome installation package. However, users can install Chrome from β€œ.deb” and third-party repositories.

This post will demonstrate the following:

Approach 1: Install Google Chrome Using the wget Command

The wget is one of the Linux command line utilities utilized to download files and can directly interact with the rest APIs. To install Chrome’s β€œ.deb” file through the terminal using the β€œwget” command, go through the given procedure.

Step 1: Launch Kali Terminal
Fire up Kali’s terminal by hitting the β€œCTRL+ALT+T” key or clicking on the terminal icon from the screen:

Step 2: Update Kali’s APT Repository
Update Kali’s repository through the β€œapt update” command:

sudo apt update

The above output shows that the β€œ106” package needs to be upgraded.

Step 3: Upgrade Kali’s Packages
To upgrade Kali’s packages, go through the below command. Here, the β€œ-y” option directly allocates the required storage permission to a running process:

sudo apt upgrade -y

Step 4: Install β€œwget” on Kali Linux
Now, to download Chrome’s β€œ.deb” file, the wget utility is required. To install the β€œwget” utility, execute the β€œapt install wget” command with sudo user privileges:

sudo apt install wget

Step 5: Download Chrome’s β€œ.deb” File
Next, download the β€œ.deb” script to install Google Chrome through the β€œwget” command. For this purpose, directly run the given command in Kali’s terminal:

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

For confirmation, view the current directory of all files. To do so, run the β€œls” command:

ls

Here, you can see we have downloaded Google Chrome’s β€œ.deb” file:

Step 6: Install Google Chrome
Now, install the Chrome browser on Kali Linux by manually installing the β€œgoogle-chrome-stable_current_amd64.deb” file in Kali’s repository:

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

This will install the β€œgoogle-chrome-stable” in Kali Linux:

Step 7: Verification
For confirmation, launch the Chrome browser using the below command:

google-chrome-stable

This will open up the browser on the screen. Accept all the terms, review the small summary, and hit the β€œGot it” button:

Now, start using the Chrome browser on Kali Linux:

Bonus Tip: How to Completely Remove Chrome Browser From Kali Linux?

Sometimes users want to remove Chrome from Kali to install the latest and more stable version or to free up disk space by removing infrequently used apps. To completely remove the Chrome browser, simply use the β€œapt remove google-chrome-stable” command with sudo user privileges:

sudo apt remove google-chrome-stable

Remove Chrome’s β€œ.deb” File

In order to remove Chrome’s β€œ.deb” file from Kali Linux, utilize the β€œrm -rf <filename>” command as done below:

rm -rf google-chrome-stable_current_amd64.deb

Approach 2: Install Google Chrome Using Kali’s Default Browser

Another possible way to download the β€œ.deb” file of Google Chrome is by navigating to Chrome’s official website and downloading the file manually. For demonstration, go through the following procedure.

Step 1: Launch Firefox ESR Browser
First, open Kali’s application menu using the β€œALT+F1” key. Search for β€œFirefox” in the search bar and launch the Firefox ESR default Kali’s browser:

Next, search for β€œDownload Google” in the URL search field:

Step 2: Download β€œ.deb” File From the Browser
Now, launch the official Google Chrome page from the search results as highlighted below:

Click on the β€œDownload Chrome” button to download the β€œ.deb” file of Chrome:

Choose the below highlighted β€œ64 bit .deb(Debian/Ubuntu)” radio button and hit the β€œAccept and Install” button:

After that, the downloading of the β€œ.deb” file for the Chrome browser will be started and saved in the β€œDownloads” directory:

Step 3: Open the β€œDownloads” Directory
Launch Kali’s terminal through the β€œCTRL+ALT+T” key. Next, navigate to Kali’s β€œDownloads” directory using β€œcd”:

cd Downloads

List down all the files and folders of the β€œDownloads” directory using β€œls”:

ls

Here, you can see Chrome’s β€œ.deb” file is saved in Downloads directory:

Step 4: Install Google Chrome
Now, run the β€œapt install <.deb file name>” command with root privileges and install the Google Chrome in Kali Linux:

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

Step 5: Verification
For confirmation, execute the mentioned command to launch Chrome on Kali Linux:

google-chrome-stable

Here, you can see we have effectively installed and launched the Chrome browser on Kali Linux:

Approach 3: Install Google Chrome Using Flatpak Package

Another possible way to install and run the Chrome browser on Kali Linux is by installing Chrome from Flatpak. Flatpak is a Linux tool or repository that develops, manages, and runs the Sandboxed application on any Linux distribution. To install the Flatpak and Chrome on Kali Linux, follow the given steps.

Step 1: Install Flatpak
First, install the Flatpak package manager on Kali Linux using the given command:

sudo apt install flatpak

During the process, additional disk space is required to install Flatpak. To permit the process to use an additional disk, press β€œY”:

Step 2: Add Flathub Flatpak Repository
After installing the Flatpak, add its official repository Flathub into the Kali system by executing the below command:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

This action requires user authentication. Type in your Kali Linux password and press the β€œAuthenticate” button:

Step 3: Install Google Chrome
Now, download and install the Chrome browser from Flathub Flatpak official repository:

flatpak install flathub com.google.Chrome -y

The below output shows that Chrome is installed effectively on Kali Linux:

Step 4: Launch Google Chrome
To check if Google Chrome is installed on the system or not, run the Chrome through given command:

flatpak run com.google.Chrome

This will pop up the β€œWelcome to Google Chrome” wizard on the screen. Mark the checkboxes according to your preferences and press the β€œOK” button:

The below result indicates that we have effectively installed the Chrome browser using Flatpak. Press the β€œGet Started” button to start using Chrome browser:

Bonus Tip: How to Remove Google Chrome Using Flatpak?

To remove the Chrome browser that is installed by Flatpak, simply use the β€œflatpak uninstall com.google.Chrome” command:

We have covered the approaches to install Chrome on Kali Linux.

Conclusion

To install Google Chrome on Kali Linux, either use the β€œ.deb” file or the Flatpak repo. Using the β€œ.deb” file, download the file using β€œwget” or from Chrome’s official website. Afterward, install Chrome using the β€œsudo apt install <path to ./google-chrome-stable_current_amd64.deb>” command. In the second approach, first download the flatpak package and add its official repository Flathub. Then, install Chrome using the β€œflatpak install flathub com.google.Chrome -y” command. We have elaborated on the different approaches to install Chrome on Kali Linux.

About the author

Rafia Zafar

I am graduated in computer science. I am a junior technical author here and passionate about Programming and learning new technologies. I have worked in JAVA, HTML 5, CSS3, Bootstrap, and PHP.