Install Chrome Browser on CentOS 7

Step 1: add a new repo named google-chrome.repo in /etc/yum.repos.d/

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

Step 2: the file centent of google-chrome.repo is like following:

1
2
3
4
5
6
[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

Step 3: now install it

1
yum -y install google-chrome-stable --nogpgcheck    # for some reason in some country

Step 4: let's start it

1
google-chrome &