如何在Kali Linux中安装Google Chrome浏览器

系统 Linux 浏览器
我们的目标就是在 Kali Linux 上安装好 Google Chrome Web 浏览器。同时,请参阅附录为可能出现的问题进行排查。

[[183452]]

介绍

目的

我们的目标就是在 Kali Linux 上安装好 Google Chrome Web 浏览器。同时,请参阅附录为可能出现的问题进行排查。

要求

需要获得已安装 Kali Linux 或者 Live 系统的特权。

困难程度

容易。

惯例

  • # - 给定命令需要以 root 用户权限运行或者使用 sudo 命令
  • $ - 给定命令以常规权限用户运行

步骤说明

下载 Google Chrome

首先,使用 wget 命令来下载***版本的 Google Chrome 的 debian 安装包。

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

安装 Google Chrome

在 Kali Linux 安装 Google Chrome 最容易的方法就是使用 gdebi,它会自动帮你下载所有的依赖包。

  1. # gdebi google-chrome-stable_current_amd64.deb 

启动 Google Chrome

开启一个终端(terminal),执行 google-chrome 命令来启动 Google Chrome 浏览器。

  1. $ google-chrome 

附录

非法指令 (Illegal Instruction)

当以 root 用户特权来运行 google-chrome 命令是,会出现 非法指令 (Illegal Instruction) 错误信息。因为通常情况下,Kali Linux 默认情况下的默认用户是 root 用户,我们需要创建一个虚的非特权用户,比如 linuxconfig,然后使用这个用户来启动 Google Chrome 浏览器。如下:

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

libappindicator1 包未安装

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

使用 gdebi 命令来安装 Google Chrome 的 debian 包可以解决依赖问题。参阅上文。 

 

 

在 Kali Linux 中以普通用户启动 google chrome 

在 Kali Linux 中以普通用户启动 google chrome

译者简介:

GHLandy —— 生活中所有欢乐与苦闷都应藏在心中,有些事儿注定无人知晓,自己也无从说起。 

责任编辑:庞桂玉 来源: Linux中国
相关推荐

2021-10-19 06:01:24

Chrome浏览器网页浏览器

2020-11-25 09:47:11

FedoraGoogle Chro浏览器

2021-10-13 14:53:50

UbuntuVivaldi浏览器

2009-03-07 09:57:41

Realplayer捆绑Chrome

2017-12-11 10:24:29

LinuxGoogleChrome 63

2009-07-17 09:16:20

Google Chro浏览器操作系统

2021-09-21 15:31:05

Kali LinuxVMware安装

2021-11-29 14:38:45

FedoraLinuxBrave浏览器

2012-06-29 10:36:17

Google ChroiOS

2009-04-20 09:03:01

GoogleChrome浏览器

2012-02-08 09:44:47

GoogleChrome

2021-08-09 11:38:08

Linux MintChrome谷歌

2017-02-08 14:30:08

Chrome密码浏览器

2010-03-23 09:33:10

2012-02-08 09:04:07

GoogleAndroidChrome

2009-10-22 09:39:42

Google Chro浏览器翻译扩展插件

2021-03-25 14:48:29

Chrome谷歌HTTPS

2009-10-26 09:59:30

GoogleChrome浏览器

2022-07-07 07:22:01

浏览器JavaScript工具

2022-09-16 07:33:52

浏览器深色模式Firefox
点赞
收藏

51CTO技术栈公众号