Linux使用技巧4--Ubuntu安装Chrome浏览器

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
<script type="text/javascript"> $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = $('<ul/>').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('<li/>').text(i)); }; $numbering.fadeIn(1700); }); }); </script>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值