Header Ads

How to install and use Google Chrome on Kali Linux 2.0

Step 1: Get the deb file
You need to download the Chrome .deb file to install on your Kali Machine. Go HERE and download the .deb ( Make sure you download the correct one – 32bit or 64bit )
Step 2: Installing the deb using dpkg
Let’s install the .deb file. For that, open up a terminal and “cd” to the directory where you have downloaded the deb file. Remember to use “sudo” if you’re not root. As a side not, you can install any .deb file on Kali or any Debian based distro using the following command.
It will probably show you an error saying there is some dependency issue or some stuff like that. I don’t actually remember the error.
But, install the following package and you should be good to go
The package manager will start to install all the dependencies and once that is finished, you could see that the package manager is setting up google chrome. And Google chrome should be installed in a few seconds.
Step 3: Now comes the issue, you cannot run Chrome, yet
This is where things get ugly. If you try to open up google chrome, it won’t open. Nothing would happen. Actually, you won’t see any error messages. It just won’t open. And there is a reason why it won’t open, that’s because you’re trying to run it as “root”.
Default user in Kali is “root” and it was done for a reason, Kali is not intended to use as a daily OS. But that does not mean that you can’t use it as a daily OS. In fact, Kali 2.0 is my main OS and it runs without any issues.
If you want to use Chrome, you have two options:
In fact there are several methods by which you can use Google chrome. Most of them involve enabling chrome to be run as root. This is not the right way to handle things. There is a reason why chrome refuses to run as root. That’s because, if you run the browser as root, then someone exploiting your browser could get root privileges. But, anyway, let’s cut to the chase.
  1. Create a normal user with sudo privileges to use daily, and use “sudo su -” to switch to root whenever you want.
    This is the most preferred method. This is how I use Kali. If you want to know how to set up a sudo user in Kali, please go HERE
  2. Create another user and switch to that user in a terminal and open up the applications like google chrome or VLC. Let me explain this for you:
This is how it’s done in the second option:
That’s it. That way you can run chrome browser, without changing any system files.
Powered by Blogger.