TranslateProject/sources/tech/20170121 How to install Google Chrome Browser on Kali Linux.md
2017-02-10 10:21:11 +08:00

4.0 KiB

How to install Google Chrome Browser on Kali Linux

Contents

Objective

The objective is to install Google Chrome web browser on Kali Linux. See an appendix for a possible issue troubleshooting.

Requirements

Privileged access to your Kali Linux installation or Live system is required.

Difficulty

EASY

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Instructions

Download Google Chrome

To start, use wget command to download a latest Google Chrome debian package:

# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install Google Chrome

The easiest way to install google chrome on you Kali Linux is to by use of gdebi which will automatically download all depended packages.

# gdebi google-chrome-stable_current_amd64.deb

Start Google Chrome

To start Google Chrome, open up a terminal and run google-chrome command:

$ google-chrome

Appendix

Illegal Instruction

The Illegal Instruction error message appears when running the google-chrome command as privileged root user. Since by default Kali Linux's default user is root, we need to create a dummy non-privileged user eg. linuxconfig, and use this user to start Google Chrome browser:

# useradd -m -d /home/linuxconfig linuxconfig
# su linuxconfig -c google-chrome

Package libappindicator1 is not installed

dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libappindicator1; however:
  Package libappindicator1 is not installed.

To resolve Google Chrome's dependencies problems use gdebi to install Google Chrome's debian package. See above. 

![Start google chrome as regular user on Kali Linux](https://linuxconfig.org/images/kali-linux-google-chome-browser-start.jpg)

via: https://linuxconfig.org/how-to-install-google-chrome-browser-on-kali-linux

作者:Lubos Rendek 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出