Centos7 安装Chrome浏览器

1.cd etc/yum.repos.d

2.vi google-chrome.repo

在google-chrome.repo中复制以下内容:(这一步记得使用root用户,或者sudo一下。)

[google-chrome] 

name=google-chrome 

baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch 

enabled=1

gpgcheck=1 

gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

3.yum -y install google-chrome-stable --nogpgcheck

 

运行:

[root@localhost yum.repos.d]# vim google-chrome.repo
[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 22576.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  40 M RSS (928 MB VSZ)
    Started: Fri Dec  7 23:56:09 2018 - 00:18 ago
    State  : Sleeping, pid: 22576
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirror-hk.koddos.net
google-chrome                                                   | 1.3 kB  00:00:00     
google-chrome/x86_64/primary                                    | 1.7 kB  00:00:00     
google-chrome                                                                      3/3
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:71.0.3578.80-1 will be installed
--> Processing Dependency: liberation-fonts for package: google-chrome-stable-71.0.3578.80-1.x86_64
--> Processing Dependency: libappindicator3.so.1

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值