1,先到chrome官网下载一个安装包
http://www.google.com/intl/zh-CN/chrome/
2,ctrl+alt+t 打开终端。
3,在终端里输入sudo apt-get -f update
-f 是强制安装缺少的组件,不提示询问。
4,进入到home目录下面的download文件夹,执行下面命令
sudo dpkg -i google google-chrome-stable_current_amd64.deb
5,Dash主页里面搜索chrome就可以搜到,ok,安装成功了
===================================================华丽的分割线===========================================
在执行完第四步骤,有可能会出现下面的提示:
Selecting previously unselected package google-chrome-stable. (Reading database ... 170670 files and directories currently installed.) Unpacking google-chrome-stable (from google-chrome-stable_current_amd64.deb) ... dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libxss1; however: Package libxss1 is not installed. dpkg: error processing google-chrome-stable (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Errors were encountered while processing: google-chrome-stable
问题原因是:没有安装这个libxss1
的依赖包,我们可以用很简单的命令安装这个依赖包:
$ sudo apt-get install -f
执行完后,重复执行第四部就可以了