1. 首页>
  2. 技术文章>
  3. Centos7 下载chrome浏览器

Centos7 下载chrome浏览器

2/7/23 5:02:47 PM 浏览 1233 评论 0

centos chrome

配置yum下载源

在目录/ e t c / y u m . r e p o s . d / \rm /etc/yum.repos.d//etc/yum.repos.d/ 下新建文件g o o g l e − c h r o m e . r e p o \rm 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

 添加参数解决源问题

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

下载

yum -y install google-chrome-stable

然后输入google-chrome即可打开浏览器

注意,如果此时是root身份,需要使用命令

google-chrome --no-sandbox


网友讨论