Install Chrome browser on CentOS7

This article mainly records how to install Chrome browser on CentOS 7.0.

1. Configure the yum download source:

Create a new file google-chrome.repo in the directory /etc/yum.repos.d/, and add the following to the file:

Install Chrome browser on CentOS7 

1 [google-chrome]
2 name=google-chrome 3 baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch 4 enabled=1 5 gpgcheck=1 6 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub 7 ~ 

2. Install google chrome browser:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable

PS: Google's official source may not be available in China, resulting in installation failure or inability to update in China. You can add the following parameters to install:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck

In this way, google chrome can be installed successfully.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325483127&siteId=291194637