How to install Chrome on Kali Linux

How to install Chrome on Kali Linux

Chrome is a free and open source web browser application which can be run on multi-platform. Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. This tutorial covers the installation procedure of Chrome on Kali Linux.

Installation procedure

To start the installation procedure, update the repositories in the target system before installing Chrome on Kali Linux.

root@kali:~# apt-get update
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages [15.5 MB]
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages [15.5 MB]                                                                                                         
Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/contrib amd64 Packages [108 kB]                                                                                                        
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/non-free amd64 Packages [166 kB]                                                                                                      
Fetched 6,968 kB in 2min 20s (49.6 kB/s)                                                                                                                                                  
Reading package lists... Done

Now download Chrome .deb package by executing the following command.

root@kali:~# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2017-06-27 20:10:58--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 172.217.26.206, 2404:6800:4007:802::200e
Connecting to dl.google.com (dl.google.com)|172.217.26.206|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60833124 (58M) [application/x-debian-package]
Saving to: ‘ google-chrome-stable_current_amd64.deb’ 
google-chrome-stable_current_amd64.deb         100%[====================================================================================================> ]  58.01M   639KB/s    in 84s    
2017-06-27 20:12:23 (708 KB/s) - ‘ google-chrome-stable_current_amd64.deb’  saved [60833124/60833124]

The above debian (.deb) package can also be installed by using dpkg command or any other package manager which supports Debian system. Here gdebi package manager is used to install the packages. Gdebi is also a package manager for Debian based system which can resolve dependencies in the system.

Execute the following command to install the package for gdebi and press y to continue with the installation procedure.

root@kali:~# apt-get install gdebi -y
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  jsql libjs-mochikit python-advancedhttpserver python-alembic python-boltons python-cheetah python-dap python-editor python-formencode python-geoip2 python-geojson python-icalendar
  python-maxminddb python-mpltoolkits.basemap python-openid python-pampy python-paste python-pastedeploy python-pastedeploy-tpl python-pastescript python-pluginbase python-pyotp
  python-scgi python-smoke-zephyr python-tempita python-termcolor python-tzlocal
Use ' apt autoremove'  to remove them.
.
.
.
Setting up libyaml-libyaml-perl (0.63-2) ...
Setting up gdebi (0.9.5.7+nmu1) ...
Setting up diffstat (1.61-1+b1) ...
Setting up libclass-accessor-perl (0.34-1) ...
Setting up liblist-moreutils-perl (0.416-1+b1) ...
Setting up libparse-debianchangelog-perl (1.2.0-12) ...
Setting up lintian (2.5.51) ...

Install the Google Chrome package by running the gdebi command as follows.

root@kali:~# gdebi google-chrome-stable_current_amd64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7

The web browser from Google
 Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
Do you want to install the software package? [y/N]:y
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 libdbusmenu-glib4 amd64 12.10.2-2 [104 kB]                                                                                 
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 libdbusmenu-gtk4 amd64 12.10.2-2 [90.8 kB]                                                                                  
Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 libindicator7 amd64 0.5.0-3+b1 [52.9 kB]                                                                                    
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 libappindicator1 amd64 0.4.92-4 [52.5 kB]                                                                                  
Fetched 300 kB in 6s (13.9 kB/s)                                                                                                                                                           
Selecting previously unselected package libdbusmenu-glib4:amd64.
(Reading database ... 316039 files and directories currently installed.)
.
.
.
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for menu (2.1.47+b1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.6.1-2) ...

Open Google Chrome without running it in sandbox and execute the following command. The user should be logged in as root user in the target system.

root@kali:~# google-chrome -no-sandbox

That was an easy installation procedure, Wasn' t it? Now it is easy to access the internet via Chrome in Kali Linux.

Comment
beretfrigid
Feb 22 2024
Verify that the package is not corrupted and that the file you are running has the right google">https://google.com/">google permissions.
karthikeynar
Feb 28 2019
can you share the permission of oogle-chrome-stable_current_amd64.deb packahe @sissharthtadury
kapkok
Oct 10 2018
gdebi google-chrome-stable_current_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done This package is uninstallable Wrong architecture 'amd64' -- Run dpkg --add-architecture to add it and update afterwards
parthiban
Jun 01 2018
Make sure the package is not corrupted and also check the permission of the file that you are running
siddharthtadury
Apr 12 2018
Install the Google Chrome package by running the gdebi command as follows. root@siddharthkali:~# gdebi google-chrome-stable_current_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Failed to open the software package The package might be corrupted or you are not allowed to open the file. Check the permissions of the file. Im getting this kind of error, what should i do?
Add a comment
FAQ
Q
What are Google Chrome Extensions?
A
Google Chrome Extensions are applications that run inside the Chrome browser and provide additional functionality, integration with third party websites or services, and customized browsing experiences.
Q
How do I add a bookmark in Chrome to my home screen?
A
Create a bookmark via the menu, find it in the bookmark list, long-press on it, and tap "Add to home screen".
Q
How to install Chrome in Kali Linux?
A
Execute the following command:
# gdebi google-chrome-stable_current_amd64.deb
Q
Is there Chrome for Linux?
A
If you love Chrome, you can install Chromium from your Linux distribution's software repositories. The Chromium source code that Chrome is based on will continue supporting 32-bit Linux systems, so it will continue receiving updates.
Q
What is Chrome on Kali Linux?
A
Chrome is a free and open source web browser application which can be run on multi-platform. Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing.