本文介绍在Kali Linux系统上安装最新的Google Chrome浏览器,包括启动和更新Google Chrome的方法。大多数Linux发行版存储库中都不直接提供Google Chrome浏览器的软件包,这主要是产品的封闭许可导致,因此,我们将通过下载Google提供的Debian软件包文件或将Chrome APT存储库手动添加到我们的Kali Linux计算机上,然后在Kali Linux上安装Google Chrome浏览器。
一、下载Google Chrome .deb软件包 使用wget为基于Debian的Linux系统下载最新的Google Chrome软件包: sudo apt update sudo apt -y install wget wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
二、在Kali Linux上安装Google Chrome浏览器 下载软件包后,使用以下命令在Kali Linux系统上安装Google Chrome浏览器: sudo apt install ./google-chrome-stable_current_amd64.deb 接受安装提示,按y继续安装,以下是输出的信息: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb' The following additional packages will be installed: libappindicator3-1 The following NEW packages will be installed: google-chrome-stable libappindicator3-1 0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded. Need to get 53.5 kB/62.2 MB of archives. After this operation, 221 MB of additional disk space will be used. Do you want to continue? [Y/n] y 如果没有问题,安装很快就能完成,而不会出现任何错误,输出信息如下: Get:1 /home/jkmutai/google-chrome-stable_current_amd64.deb google-chrome-stable amd64 79.0.3945.130-1 [62.2 MB] Get:2 http://kali.download/kali kali-rolling/main amd64 libappindicator3-1 amd64 0.4.92-7 [53.5 kB] Fetched 53.5 kB in 12s (4,572 B/s) Selecting previously unselected package libappindicator3-1:amd64. (Reading database ... 258571 files and directories currently installed.) Preparing to unpack .../libappindicator3-1_0.4.92-7_amd64.deb ... Unpacking libappindicator3-1:amd64 (0.4.92-7) ... Selecting previously unselected package google-chrome-stable. Preparing to unpack .../google-chrome-stable_current_amd64.deb ... Unpacking google-chrome-stable (79.0.3945.130-1) ... Setting up libappindicator3-1:amd64 (0.4.92-7) ... Setting up google-chrome-stable (79.0.3945.130-1) ... update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode Processing triggers for desktop-file-utils (0.24-1) ... Processing triggers for mime-support (3.64) ... Processing triggers for libc-bin (2.29-9) ... Processing triggers for man-db (2.9.0-2) ... Processing triggers for kali-menu (2020.1.7) ... 最后,Google存储库也要添加到/etc/apt/sources.list.d/google-chrome.list文件中: $ cat /etc/apt/sources.list.d/google-chrome.list ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main 可参考:把Kali Linux官方存储库加入到sources.list文件中。
三、在Kali Linux上启动Google Chrome 我们已经在Kali Linux系统上完成了Google Chrome的安装,可以从终端或GUI应用程序启动器启动该应用程序了。 要从终端启动Google Chrome,请输入: $ google-chrome-stable 如果要从GUI启动,请搜索Chrome:
开始初始设置以开始使用它:
欢迎消息应显示在末尾,登录并使用Google Chrome浏览器:
四、在Kali Linux上更新Google Chrome 在Kali Linux上从.deb软件包安装Google Chrome之后,配置了APT存储库。 要更新它,只需运行以下命令: sudo apt update sudo apt upgrade 这样就能在Kali Linux上更新Google Chrome浏览器了。
相关主题 |