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

来源:互联网 发布:樱木花道体育淘宝真假 编辑:程序博客网 时间:2024/05/14 20:18

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-bitbaseurl=http://dl.google.com/linux/chrome/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


64-bit

[google-chrome]name=google-chrome - 64-bitbaseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64enabled=1gpgcheck=1gpgkey=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: NOKEYPublic key for google-chrome-stable-34.0.1847.116-1.i386.rpm is not installedhttp://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: NOKEYPublic key for google-chrome-stable-34.0.1847.116-1.i386.rpm is not installed

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


0 0
原创粉丝点击