小技巧:如何在 Kali Linux 中安装 Google Chrome 浏览器

简介:

下载 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


原文发布时间为:2017-02-16

本文来自云栖社区合作伙伴“Linux中国”

相关文章
|
16天前
|
开发者
查看edge浏览器插件的安装位置并将插件安装到别的浏览器
查看edge浏览器插件的安装位置并将插件安装到别的浏览器
26 1
|
3月前
|
IDE Linux 开发工具
如何在Linux运行RStudio Server并实现Web浏览器远程访问
如何在Linux运行RStudio Server并实现Web浏览器远程访问
75 0
|
2月前
|
Web App开发 Linux
只需五步,在Linux安装chrome及chromedriver(CentOS)
只需五步,在Linux安装chrome及chromedriver(CentOS)
322 1
|
4月前
|
Ubuntu Linux 虚拟化
2:发行版本安装演示——Ubuntu、CentOS、Kali?-步入Linux的现代方法
2:发行版本安装演示——Ubuntu、CentOS、Kali?-步入Linux的现代方法
71 0
|
4月前
|
Web App开发
Google Chrome 浏览器 119.0.6045.106 版本提示 STATUS_INVALID_IMAGE_HASH 崩溃
Google Chrome 浏览器 119.0.6045.106 版本提示 STATUS_INVALID_IMAGE_HASH 崩溃
68 0
|
2月前
|
SQL 安全 网络协议
2021Kali系列 -- linux菜刀(weevely3)
2021Kali系列 -- linux菜刀(weevely3)
51 1
|
3月前
|
安全 Linux 测试技术
深入Kali Linux:高级渗透测试技术详解
深入Kali Linux:高级渗透测试技术详解
173 0
|
4月前
|
Web App开发 Linux Windows
linux安装浏览器 linux本地浏览器进行访问
linux安装浏览器 linux本地浏览器进行访问
|
4月前
|
Web App开发 Windows
Windows【Chrome浏览器 01】首次安装的谷歌Chrome浏览器出现无法打开此页面问题处理(详细图文步骤)
Windows【Chrome浏览器 01】首次安装的谷歌Chrome浏览器出现无法打开此页面问题处理(详细图文步骤)
67 0
|
4月前
|
安全 Linux 网络安全
深入探索:Kali Linux 网络安全之旅
"Kali" 可能指的是 Kali Linux,它是一种基于 Debian 的 Linux 发行版,专门用于渗透测试、网络安全评估、数字取证和相关的安全任务。Kali Linux 旨在提供一系列用于测试网络和系统安全性的工具,以及为安全专业人员和爱好者提供一个强大的平台。
60 1