在Ubuntu 14.04下安装Google Chrome浏览器非常简单,只要到Chrome的网站下载Deb安装包并进行安装即可。当然你也可以使用APT软件包管理器来安装Google Chrome浏览器,如果你想使用APT软件包管理器安装Google Chrome浏览器的话,本文将介绍这两种方法。
目前Linux下的Google Chrome浏览器有三个版本,稳定版、Beta(测试版)和Unstable(不稳定版,也就是Dev版)。其中Beta相对较稳定,而最新的功能将会先出现在Unstable版中,经过一段测试后才会在Beta版中出现,缺点是Unstable版本更新较为频繁,稳定性也不如Beta版。
如果你追求稳定的话,最好选择稳定版版,如果你喜欢尝试新功能并追求最好的性能,推荐安装Unstable版,而且似乎在Ubuntu下,Unstable版的Chrome中的字体显示也要比Beta好看一些。
一、通过直接下载安装Google Chrome浏览器deb包。
打开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
下载好后
32 位安装命令:
sudo dpkg -i google-chrome-stable_current_i386.deb
64 位安装命令:
sudo dpkg -i google-chrome-stable_current_amd64.deb
此时点击Ubuntu桌面左上角的搜索,输入”google chrome”就可找到谷歌浏览器,直接点击就可以使用了。
二,解决依赖项的问题
经过上面的安装虽然谷歌浏览器已经能够使用了,但是继续安装其余的软件时候往往会有下面的问题:
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.
这是依赖项的问题,缺少它就安装它,不过还是有问题:
$ sudo apt-get install libappindicator1
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
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
好了,安装完成,可以享受谷歌浏览器的便利了。
本文转载自:
http://www.linuxidc.com/Linux/2014-04/100645p2.htm
http://blog.csdn.net/lincyang/article/details/43964867