0
点赞
收藏
分享

微信扫一扫

Centos7 yum 安装chrome

Centos7 yum 安装chrome

  1. 配置yum源
vim /etc/yum.repos.d/google-chrome.repo

写入以下内容

[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
  1. 安装google chrome浏览器
    Google官方安装
# yum -y install google-chrome-stable

Google安装源可能无法在中国使用,导致安装失败或者在国内无法更新,用以下命令:

#yum -y install google-chrome-stable --nogpgcheck
  1. 运行chrome
    找到chrome路径,并做个软连接,方便使用:
#which google-chrome-stable
#ln -s xxx /bin/chrome

举报

相关推荐

0 条评论