How to install Google Chrome on KaliLinux 2.0


How to install Google Chrome on KaliLinux 2.0 

 

 

So many Kali Linux 2.0 Sana users are facing problem to install google chrome. very first problem that you guys will face is dependency issue. Google Chrome depends on some packages that are not install by default problem is to run google chrome as root user and finally last problem is to run google chrome in sandbox only.
First lets download google chrome
If your computer is 32 bit then download 32 bit and if it is 64 bit then download 64 bit file
ChromeStep 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 )
Download the Google-Chrome.deb
Step 2: Installing the deb using dpkg
Let 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.
cd ~/Downloads
dpkg i googlechromestable_current_amd64.deb
Install the following package and you should be good to go
aptget install libappindicator1
# Once the above packages has been installed, issue the following command
# so that all the dependencies will get installed properly
aptget f install
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.
If It Does n’t Work Try This Alternate method after downloading copy it to you desktop
now open terminal and navigate to desktop.
cd Desktop
and install it using this command

dpkg -i filename

you can see that google chrome is not fully install. we got dependency issue lets fix it run this command

leafpad /etc/apt/sources.list

now add these lines and save file

Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

now run this command

apt-get update

finally run this command

apt-get install -f

It will fix all dependency issues now lets fix run google chrome as root issue , run this command

leafpad /opt/google/chrome/google-chrome

and add this like –user-data-dir  in file like this now save file and close it
Now click on google chrome icon , you will notice that nothing will happen or if you run google chrome from terminal it will not run and do not run show any errors.

No comments:

Post a Comment

Information About You