kali 安装google chrome浏览器(离线手动)

时间:2021-04-18 17:14:06

一、官网下载安装包

需要在google官网下载chrome安装包,安装时请仔细选择安装包,.deb的安装包适用于Debian/Ubuntu系统,.rpm适用于 Fedora/openSUSE系统。

kali基于Debian所以下载安装包:google-chrome-stable_current_amd64.deb,考虑到可能被墙你也可以从这里下载到这个安装包。

二、安装

root@kali:~/MyPackage# ls
google
-chrome-stable_current_amd64.deb
root@kali:
~/MyPackage# dpkg -i google-chrome-stable_current_amd64.deb
Selecting previously unselected package google
-chrome-stable.
(Reading database ...
316493 files and directories currently installed.)
Preparing to unpack google
-chrome-stable_current_amd64.deb ...
Unpacking google
-chrome-stable (60.0.3112.101-1) ...
dpkg: dependency problems prevent configuration of google
-chrome-stable:
google
-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.

dpkg: error processing package google
-chrome-stable (--install):
dependency problems
- leaving unconfigured
Processing triggers
for menu (2.1.47) ...
Processing triggers
for desktop-file-utils (0.23-1) ...
Processing triggers
for gnome-menus (3.13.3-8) ...
Processing triggers
for mime-support (3.60) ...
Processing triggers
for man-db (2.7.5-1) ...
Errors were encountered
while processing:
google-chrome-stable

三、解决报错(请注意在做以下操作前一定确保本地的源都是已更新过的状态)

root@kali:~/MyPackage# apt-get -f install

  以上命令结束后,再次尝试安装即可安装成功

root@kali:~/MyPackage# dpkg -i google-chrome-stable_current_amd64.deb