在底部有关于如何在Ubuntu 16.04和17.04上安装Chrome的重要信息!
这条消息仅适用于Linux 32位系统,64位系统当然会继续得到支持。
当您安装了32位版本的Ubuntu时,Google Chrome将不再接收更新,这已经在2015年12月1日由Google宣布。
Google:我们将停止对32位Linux、Ubuntu Precise(12.04)上的Google Chrome提供支持...
当您想要接收Chrome更新时,您应该切换到64位版本的Ubuntu。
无论如何,推荐使用Ubuntu 14.04.3 LTS和Ubuntu 15.10的64位版本下载。
下一个Ubuntu LTS版本16.04 Xenial Xerus将于2016年4月发布,请安装64位版本。
在三月到四月的时间段内,您可以使用预装的
Firefox网络浏览器。或者您可以从Ubuntu软件仓库中安装
chromium-browser或
epiphany-browser。另外,您也可以安装64位版本的Ubuntu 14.04,但这是否值得努力?...由您决定...
Ubuntu LTS版本提供了五年的支持,包括官方软件仓库。然而,Google Chrome并不在官方的Ubuntu软件仓库中,这就是为什么Canonical/Ubuntu开发者没有提供Chrome的五年LTS支持的原因。
更新信息2016-03-03:Google已经从他们的软件仓库中移除了32位版本!
正如您在
Google Chrome网站上所看到的,现在已经不再提供32位Linux版本。
运行
sudo apt-get update
会出现以下错误:
Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
Unable to find expected entry 'main/binary-i386/Packages' in Release file
(Wrong sources.list entry or malformed file)
Some index files failed to download.
They have been ignored, or old ones used instead.
作为一种解决方法,将存储库专门设置为64位:
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list" "/opt/google/chrome/cron/google-chrome"
参考:
修复“无法获取”Google Chrome存储库
更新信息2016-03-09:Google似乎在版本49.0.2623.87中修复了这个问题!
/opt/google/chrome/cron/google-chrome
文件现在具有与体系结构相关的条目。
# sources.list setting for google-chrome updates.
REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
REPOCONFIGREGEX="deb (\[arch=[^]]*\bamd64\b[^]]*\][[:space:]]*)?https?://dl.google.com/linux/chrome/deb/ stable main"
/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
更新信息2016-04-21:如何在Ubuntu 16.04中安装Google Chrome浏览器
目前从Google网站下载安装Google Chrome存在问题。当点击.deb
文件时,Ubuntu软件会打开,但是当你点击安装时什么都不会发生。正确安装Google Chrome的方法是 - 打开终端并执行以下命令:
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
更新存储库时可能会出现一些新的“弱签名”问题,但可以忽略不计。
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
更新信息2017-04-13:如何在Ubuntu 17.04中安装Google Chrome浏览器。
上述针对Ubuntu 16.04的命令仍然有效,并且是成功安装Google Chrome的最佳解决方案。注意:命令“apt”也可以替代“apt-get”。