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的后缀!!