The speed of downloading chrome on the google website is very slow, but after adding the source of chrome, you can install chrome through yum install in the terminal, which will be much faster.
First create a file named google.repo in /etc/yum.repos.d, then copy the following code into it, and save:
32-bit system:
code show as below | copy code |
[google] name=Google – i386 baseurl=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub |
64-bit system:
code show as below | copy code |
[google64] name=Google – x86_64 baseurl=http://dl.google.com/linux/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub |
Then use (administrator privileges required):
code show as below | copy code |
yum install google-chrome-stable --nogpg to install latest stable version yum install google-chrome-unstable --nogpg latest version of chrome |
That's it! It's ready to install!
The article will add the solutions to the problems encountered during the installation process.
Possible problems (very likely):
The following error occurs:
warning: google-chrome-stable_current_i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
lsb >= 4.0 is needed by google-chrome-stable-18.0.1025.162-131933.i386
libXss.so.1 is needed by google-chrome-stable-18.0.1025.162-131933.i386
wget is needed by google-chrome-stable-18.0.1025.162-131933.i386
Workaround (test works):
code show as below | copy code |
yum install RedHat-lsb |
Use the command again: rpm -ivh google-chrome-stable_current_i386.rpm