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

时间:2023-01-31 15:28:20

一、官网下载安装包

需要在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 ... files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (60.0.3112.101-) ...
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.) ...
Processing triggers for desktop-file-utils (0.23-) ...
Processing triggers for gnome-menus (3.13.-) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.-) ...
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