当前位置: 移动技术网 > IT编程>数据库>Mysql > ubuntu系统中安装chrome及常见错误总结

ubuntu系统中安装chrome及常见错误总结

2018年04月21日  | 移动技术网IT编程  | 我要评论

ubuntu系统中安装chrome及常见错误总结。

step1:下载

打开Ubuntu终端,32位版本,使用下面的命令。

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

64位版本,使用下面的命令

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

step2:导入公钥

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

导入谷歌软件的公钥,用于对下载软件进行验证。

如果顺利的话,命令将返回“OK”。

step3:更新可用列表

sudo apt-get update

用于对当前系统的可用更新列表进行更新。这也是许多 Linux 发行版经常需要执行的操作,目的是随时获得最新的软件版本信息。

命令将会返回类似图中所示的信息。

step4:安装

sudo apt-get install google-chrome-stable

执行对谷歌 Chrome 浏览器(稳定版)的安装。

如果一切顺利,在终端中执行以下命令:

将会启动谷歌 Chrome 浏览器

常见错误:

The following packages have unmet dependencies:
 libappindicator1 : Depends: libindicator7 (>= 0.4.90) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

安装依赖项即可:

$ sudo apt-get -f install libappindicator1 libindicator7

运行时出错:


[0807/144244.712736:FATAL:nss_util.cc(627)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
解决方案:
sudo apt install --reinstall libnss3

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网