Install Google Chrome on Fedora 20/19/18/17

firefox 太过分了,总是让装addon, plugin. So I buy-in google-chrome.

http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/

Enable Google YUM repository

Add following to /etc/yum.repos.d/google-chrome.repo file:

32-bit

[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


64-bit

[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


Note: Both 32-bit and 64-bit repos can be placed in the same file.

Install Google Chrome with YUM (as root user)

Install Google Chrome Stable Version

## Install Google Chrome Stable version ##
yum install google-chrome-stable

Install Google Chrome Beta Version


## Install Google Chrome Beta version ##
yum install google-chrome-beta

Install Google Chrome Unstable Version


## Install Google Chrome Unstable version ##
yum install google-chrome-unstable

依次运行如下命令(64位的将"adobe-release-i386"换为"adobe-release-x86_64")
 yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm -y
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install flash-plugin -y

之前遇到过如下的error,

http://dl.google.com/linux/chrome/rpm/stable/i386/google-chrome-stable-34.0.1847.116-1.i386.rpm: [Errno 12] Timeout on http://dl.google.com/linux/chrome/rpm/stable/i386/google-chrome-stable-34.0.1847.116-1.i386.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
warning: /var/cache/yum/i386/20/google-chrome/packages/google-chrome-stable-34.0.1847.116-1.i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Public key for google-chrome-stable-34.0.1847.116-1.i386.rpm is not installed

http://dl.google.com/linux/chrome/rpm/stable/i386/google-chrome-stable-34.0.1847.116-1.i386.rpm: [Errno 12] Timeout on http://dl.google.com/linux/chrome/rpm/stable/i386/google-chrome-stable-34.0.1847.116-1.i386.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
warning: /var/cache/yum/i386/20/google-chrome/packages/google-chrome-stable-34.0.1847.116-1.i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Public key for google-chrome-stable-34.0.1847.116-1.i386.rpm is not installed

原因就是在/etc/yum.repos.d/google-chrome.repo, 中我忘记了.pub的后缀!!


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值