欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Centos7安装chrome浏览器

程序员文章站 2022-07-06 15:46:35
...

1. 配置yum源

在目录 /etc/yum.repos.d/ 下新建文件 google-chrome.repo

vi /etc/yum.repos.d/google-chrome.repo

按i进入编辑模式,输入或复制以下内容

[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

按Esc退出编辑模式,按:进入命令模式,输入wq退出vi编辑工具。

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

执行安装,等待完成即可。

相关标签: CentOS 7