1.配置yum下载源:

在目录 /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

2. 安装google chrome浏览器:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable
PS: Google官方源可能在中国无法使用,导致安装失败或者在国内无法更新,可以添加以下参数来安装:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck
这样,google chrome就可在安装成功。

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2021-07-21
  • 2021-11-13
  • 2022-02-26
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案