一般情况下,ubuntu安装Google-chrome只需要执行命令:
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install -y -f google-chrome-stable
但是由于ubuntu16不能满足最新的chrome浏览器依赖的libnss3版本,所以只能安装指定的chrome版本。
错误提示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package google-chrome-stable is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'google-chrome-stable' has no installation candidate
在官网查找chrome的历史版本:
chromium-browser package : Ubuntu
ubuntu16.04对应的是The Xeni