Fedora 21 install chrome

Steps to install Google Chrome on Fedora 21

A. Create google-chrome.repo file

Use this command to create google-chrome.repo file under /etc/yum.repos.d

su
yum install nano
nano /etc/yum.repos.d/google-chrome.repo

Then add the following lines to the new file

 

   
[google-chrome]
name=google-chrome - \$basearch
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

B. Install Google Chrome

To install Google Chrome, use this command

yum install google-chrome-stable

Done.

=============================================================

如果安装出现:获取 GPG 密钥失败:[Errno 12] Timeout on https://dl-ssl.google.com/linux/linux_signing_key.pub: (28, 'Conne

则:修改上面创建的google-chrome.repo

gpgcheck=1改成gpgcheck=0

posted @ 2014-11-16 10:50  Earic  阅读(554)  评论(0编辑  收藏  举报