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:
- Install Google Chrome Using the wget Command
- Install Google Chrome Using Kaliβs Default Browser
- Install Google Chrome Using Flatpack Package
- Conclusion
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:
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:
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:
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:
For confirmation, view the current directory of all files. To do so, run the βlsβ command:
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:
This will install the βgoogle-chrome-stableβ in Kali Linux:
Step 7: Verification
For confirmation, launch the Chrome browser using the below command:
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:
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:
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β:
List down all the files and folders of the βDownloadsβ directory using β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:
Step 5: Verification
For confirmation, execute the mentioned command to launch Chrome on Kali Linux:
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:
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:
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:
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:
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.