Chrome Browser is a proprietary version of Google’s open-source Chromium. However, on one hand, Chromium is available to install on Kali Linux via its official repository, the Chrome is not. Yes, for this Google browser, we have to either add its repository to Kali manually or get the Deb file from the official website of Chrome.
Here we will show you both the methods of installing the Google Chrome browser on Kali Linux.
What will we learn here?
- Where to download Chrome browser Debian files?
- How to install Chrome via repository using the command line
- The process to install downloaded Debian files.
- Internet connection
Chrome browser installation on Kali Linux
#Method 1st using the repository
Step 1: Open command terminal
Just like Ubuntu, we can use a keyboard shortcut i.e
Ctrl+Alt+T to open the Command terminal quickly, or else just click on its icon available on the Gnome Taskbar.
Step 2: Add Google GPG key
Before adding the official repository of Google for Chrome on Kali Linux, we need to store its GPG key using which the packages of the browser have been signed. This lets the system ensure the authenticity of the Chrome packages we will download.
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
But as apt-key is decrypted and you will get a warning, however, you can use it till Debian 11, still, it’s better to use an alternate method to add GPG ley,
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Use this command:
wget -O- https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/Google-archive-keyring.gpg
Step 3: Create a Google Chrome Repository file
Now, let’s create a separate repository file that holds the address for Kali Linux to fetch the packages to install the browser on our system including the future updates.
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
Step 4: Run system update
After adding the repo and key, it’s time to run the system update command, so that it could flush and rebuild the cache and can recognize the packages available in the added repo to install.
sudo apt update
Step 5: Install Stable Chrome on Kali Linux
Finally, issue the command that will download and install the Google Chrome browser’s stable package on our Kali Linux system.
sudo apt install google-chrome-stable
Step 6: Run Chrome browser on Kali Linux
Go to Applications and search for it. As its icon appear, click to run it.
#2nd method using Debian file
If you don’t want to go for the above method then manually download the Debian file available on its official website
- Visit Chrome Website
- Click on the Download Chrome button.
- Select .Deb Package.
- Hit the “Accept and Install” button.
- This will download the file.
- Open Command terminal and run
sudo apt install ./Downloads/google-chrome-stable_current_amd64.deb