Solved: Google Chrome no longer installs on CentOS 6.4 or CentOS 6.5

This also works for CentOS 6.5

Update 1: It looks like I had a cached version of the rpm in a local repo. Here is the RPM that you can use to install the last version that worked for CentOS 6:

Download: google-chrome-stable-27.0.1453.110-202711.x86_64.rpm

Install instructions:
# yum -y install google-chrome-stable-27.0.1453.110-202711.x86_64.rpm

—END OF UPDATE—

Update 2: It looks like you can also install Chromium and get version 28 running

Install Chromium:

sudo su -
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
yum install chromium

Install Pepper Flash:

cd /tmp
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_pepperflash_copy.sh
chmod +x chrome_pepperflash_copy.sh
./chrome_pepperflash_copy.sh

Install PDF Viewer:

cd /tmp
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_libpdf_copy.sh
chmod +x chrome_libpdf_copy.sh
./chrome_libpdf_copy.sh

Chromium should now be installed and accessible via your window manager’s menu.

Thanks to stavros on Google+ for the tip.

Source: http://www.if-not-true-then-false.com/2013/install-chromium-on-centos-red-hat-rhel/

—END OF UPDATE—

Update 3: There appears to be a script that lets you run Chrome 28 on CentOS 6


Source: http://chrome.richardlloyd.org.uk/

—END OF UPDATE—

Original post:

The latest version of Google Chrome no longer installs on CentOS 6.4 due to dependency issues:

# yum -y install google-chrome

--->; Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
-->; Processing Dependency: lsb >= 4.0 for package: google-chrome-stable-28.0.1500.63-208724.x86_64
-->; Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
-->; Running transaction check
--->; Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
-->; Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
--->; Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be installed
-->; Processing Dependency: redhat-lsb-printing(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-graphics(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-compat(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:28.0.1500.63-208724 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: google-chrome-stable-28.0.1500.63-208724.x86_64
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be installed
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-28.0.1500.63-208724.x86_64 (google-chrome-local)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)

The solution is to install an older version that is known to work with CentOS 6.4:

# yum install google-chrome-stable-27.0.1453.110-202711.x86_64

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * misc: master
 * misc6: master
google-chrome                                                                                  |  951 B     00:00     
google-chrome/primary                                                                          | 1.8 kB     00:00     
google-chrome                                                                                                     3/3
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:27.0.1453.110-202711 will be installed
--> Processing Dependency: lsb >= 4.0 for package: google-chrome-stable-27.0.1453.110-202711.x86_64
--> Running transaction check
---> Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be installed
--> Processing Dependency: redhat-lsb-printing(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-graphics(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Processing Dependency: redhat-lsb-compat(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64
--> Running transaction check
---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be installed
---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                        Arch             Version                          Repository                     Size
======================================================================================================================
Installing:
 google-chrome-stable           x86_64           27.0.1453.110-202711             google-chrome-local            51 M
Installing for dependencies:
 redhat-lsb                     x86_64           4.0-7.el6.centos                 base                           11 k
 redhat-lsb-compat              x86_64           4.0-7.el6.centos                 base                           10 k
 redhat-lsb-core                x86_64           4.0-7.el6.centos                 base                           25 k
 redhat-lsb-graphics            x86_64           4.0-7.el6.centos                 base                           13 k
 redhat-lsb-printing            x86_64           4.0-7.el6.centos                 base                           11 k

Transaction Summary
======================================================================================================================
Install       6 Package(s)

Total download size: 51 M
Installed size: 152 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): google-chrome-stable-27.0.1453.110-202711.x86_64.rpm                                    |  51 MB     00:00     
(2/6): redhat-lsb-4.0-7.el6.centos.x86_64.rpm                                                  |  11 kB     00:00     
(3/6): redhat-lsb-compat-4.0-7.el6.centos.x86_64.rpm                                           |  10 kB     00:00     
(4/6): redhat-lsb-core-4.0-7.el6.centos.x86_64.rpm                                             |  25 kB     00:00     
(5/6): redhat-lsb-graphics-4.0-7.el6.centos.x86_64.rpm                                         |  13 kB     00:00     
(6/6): redhat-lsb-printing-4.0-7.el6.centos.x86_64.rpm                                         |  11 kB     00:00     
----------------------------------------------------------------------------------------------------------------------
Total                                                                                  83 MB/s |  51 MB     00:00     
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-google-chrome
Importing GPG key 0x7FAC5991:
 Userid: "Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>"
 From  : /etc/pki/rpm-gpg/RPM-GPG-KEY-google-chrome
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : redhat-lsb-core-4.0-7.el6.centos.x86_64                                                            1/6 
  Installing : redhat-lsb-printing-4.0-7.el6.centos.x86_64                                                        2/6 
  Installing : redhat-lsb-graphics-4.0-7.el6.centos.x86_64                                                        3/6 
  Installing : redhat-lsb-compat-4.0-7.el6.centos.x86_64                                                          4/6 
  Installing : redhat-lsb-4.0-7.el6.centos.x86_64                                                                 5/6 
  Installing : google-chrome-stable-27.0.1453.110-202711.x86_64                                                   6/6 
Unable to send message to PackageKit
  Verifying  : redhat-lsb-printing-4.0-7.el6.centos.x86_64                                                        1/6 
  Verifying  : google-chrome-stable-27.0.1453.110-202711.x86_64                                                   2/6 
  Verifying  : redhat-lsb-4.0-7.el6.centos.x86_64                                                                 3/6 
  Verifying  : redhat-lsb-core-4.0-7.el6.centos.x86_64                                                            4/6 
  Verifying  : redhat-lsb-compat-4.0-7.el6.centos.x86_64                                                          5/6 
  Verifying  : redhat-lsb-graphics-4.0-7.el6.centos.x86_64                                                        6/6 

Installed:
  google-chrome-stable.x86_64 0:27.0.1453.110-202711                                                                  

Dependency Installed:
  redhat-lsb.x86_64 0:4.0-7.el6.centos                      redhat-lsb-compat.x86_64 0:4.0-7.el6.centos              
  redhat-lsb-core.x86_64 0:4.0-7.el6.centos                 redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos            
  redhat-lsb-printing.x86_64 0:4.0-7.el6.centos            

Complete!

This post assumes that you have already added the necessary Google Chrome repo.



7 thoughts on “Solved: Google Chrome no longer installs on CentOS 6.4 or CentOS 6.5”

  1. Hi — I have the same issue — on July 2nd, 2013 on new Centos 6.4 install. Obviously, as you point out, I need to make yum aware of google’s repo — since I don’t have the benefit of a prior install, I added the following to repos.d:

    [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

    When I try installing:

    sudo yum install google-chrome-stable-27.0.1453.110-202711.x86_64
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: mirror.metrocast.net
    * extras: centos.mirror.nac.net
    * updates: mirrors.advancedhosters.com
    google64 | 951 B 00:00
    google64/primary | 1.8 kB 00:00
    google64 3/3
    Setting up Install Process
    No package google-chrome-stable-27.0.1453.110-202711.x86_64 available.

    —————–

    Also:
    sudo yum –showduplicates list google-chrome-stable
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: mirror.metrocast.net
    * extras: centos.mirror.nac.net
    * updates: mirrors.advancedhosters.com
    Available Packages
    google-chrome-stable.x86_64 28.0.1500.68-209102 google-chrome

    —————-
    Is the repo I am using the same as what you were using? If so, does is seem plausible that they nuked the version you referenced so quickly? Is there another way (legit) to find archived rpm’s of Chrome… thanks

    1. It looks like I had an old version of the google chrome rpm in a local repo.

      I have updated the post with a link you can use to download the rpm.

  2. I ran this script and it appeared to work without complaints, but my videos are not working properly now. I can hear the audio portion of clips that I play but there is no picture. My guess is that this is a flash issue. Any suggestions how I can resolve this issue?

Leave a Reply