Skip to main content

How to install Google Chrome on Kali Linux

Download the deb package from www.google.com/chrome.

dpkg -i google-chrome-stable_current_i386.deb

 

When then trying to run Chrome from the menu, an error message pops up advising:
unable to run as root
and that to run as root you must specify an alternate –user-data-dir for storage of profile information.

 

So let’s do that, browse to:

 

File System -> opt -> google -> chrome

cd /opt/google/chrome

 

Open the file google-chrome with a text editor:

nano google-chrome

 

And on the last line:

 

exec -a "$0" "$HERE/chrome"  "$@"

 

Add the below text:

--user-data-dir

 

Do it like this:

exec -a "$0" "$HERE/chrome"  "$@" --user-data-dir

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *