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

    xiaoxiao2024-05-19  115

    下载 Google Chrome

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

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

    安装 Google Chrome

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

    # gdebi google-chrome-stable_current_amd64.deb

    启动 Google Chrome

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

    $ google-chrome

    附录

    非法指令Illegal Instruction

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

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

    libappindicator1 包未安装

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

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

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


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

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

    相关资源:kali linux版谷歌浏览器
    最新回复(0)