chrome官网上不去,国内的下载镜像里也没有找到Linux版的chrome,怎么办呢?
网上逛了逛,发现网友实验出chrome下载的地址是可用的,见如下:
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
我们要做的就是静静的等待它下载完成:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2015-02-27 09:40:16-- https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 203.208.52.135, 203.208.52.136, 203.208.52.137, ...
Connecting to dl.google.com (dl.google.com)|203.208.52.135|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49073010 (47M) [application/x-debian-package]
Saving to: ‘google-chrome-stable_current_amd64.deb’
100%[==========================================================================================================================================================================>] 49,073,010 87.7KB/s in 12m 47s
2015-02-27 09:53:05 (62.4 KB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [49073010/49073010]
然后尝试安装它:
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
不过我遇到了问题:
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