Centos 7.5 安装Google Chrome 浏览器

Centos 7.5 的默认浏览器是Firefox,功能强大。。。但是用惯了 Chrome,所以打算在 Centos 上安装Chrome。

配置yum源

cd /ect/yum.repos.d/
vim google-chrome.repo

在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

安装Chrome浏览器

yum -y install google-chrome-stable

Google 官方源在国内可能无法正常使用,可以将google-chrome.repo文件中的gpgcheck=1改为gpgcheck=0 或者添加如下参数

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

 

 

猜你喜欢

转载自www.cnblogs.com/WOOOOO/p/9458166.html