Install Google Chrome with YUM on Fedora 16/15, CentOS/Red Hat (RHEL) 6.2

chrome-logo-smallThis howto explains howto install Google Chrome Web browser on Fedora 16, Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 6.2/6.1/6 and Red Hat (RHEL) 6.2/6.1/6. Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM repository.

Enable Google YUM repository

Add following to /etc/yum.repos.d/google.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

Google Chrome Unstable Web Browser on Fedora 15 64-bit with 32-bit Flash and Oracle Java plugin

Fedora 15 64 bit Google Chrome with Adobe Flash and Oracle Java

Google Chrome Beta Web Browser on Fedora 12

Fedora 12 Google Chrome Beta

Google Chrome Unstable Web Browser on Red Hat (RHEL) 6

Red Hat 6 (rhel) Google Chrome Unstable

site-map
Follow If Not True Then False Updates!

113 Comments

  1. Thank you, the post helped me to get up and running with Chrome in minutes.

  2. This worked awesome in Centos 6.2. Thank you!

    • I try it but , nothing happen after install :(

      • Hi amir,

        Could you explain more specific, what you mean “nothing happen” after install? :)

  3. Hi, I tried installing google chrome in my RHEL5, but it didn’t work.

    sudo yum install google-chrome-stable
    Loading “security” plugin
    Loading “yahooplugin” plugin
    google-chrome | 951 B 00:02
    primary.xml.gz | 1.5 kB 00:00
    google-chr: ################################################## 3/3
    Setting up Install Process
    Parsing package install arguments
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:17.0.963.79-125985 set to be updated
    –> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    –> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: google-chrome-stable
    –> Processing Dependency: xdg-utils for package: google-chrome-stable
    –> Processing Dependency: lsb >= 4.0 for package: google-chrome-stable
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:17.0.963.79-125985 set to be updated
    –> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    –> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: google-chrome-stable
    –> Processing Dependency: xdg-utils for package: google-chrome-stable
    —> Package redhat-lsb.i386 0:4.0-2.1.4.el5 set to be updated
    —> Package redhat-lsb.x86_64 0:4.0-2.1.4.el5 set to be updated
    filelists.xml.gz | 605 B 00:00
    filelists.xml.gz | 1.1 kB 00:00
    filelists.sqlite.bz2 | 18 MB 00:21
    –> Finished Dependency Resolution
    Error: Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable
    Error: Missing Dependency: xdg-utils is needed by package google-chrome-stable
    Error: Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package google-chrome-stable

    • Hi Karthik,

      Sorry, but this guide is not compatible with RHEL 5, only with RHEL 6 (6.2/6.1/6.0), like guide says. More info from this comment.

  4. I followed the instructions for fc15 and got:

    # yum install google-chrome-stable
    http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 12] Timeout on http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: (28, '')
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again

    • I next set my http_proxy environment variable to 2 different working proxies
      and got:

      # yum install google-chrome-stable
      http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 14] curl#52 - ""
      Trying other mirror.
      Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again

      • Oops … take it all back.. I forgot to set the port_number in
        http_proxy=:<port_number
        Now it works!….

        • i.e http_proxy = \:\

          • can’t figure escape char (\\ didn’t work) – using ‘[' as delimiter:

            i.e. http_proxy=[proxy]:[port_number]

            • Hi Irwin,

              So did you get Google Chrome installed and working? :)

              • YUP… all seem fine now….

  5. I had the same issue as Irwin, I found some information that said there is something funny with Google’s IP address setup, basically this will cause yum to fail about 25% of the time.

    Run “yum install google-chrome-stable” a few times and it will succeed.

    Thanks for the howto.

    Aftab

  6. [root@server tmp]# yum install google-chrome-unstable
    Loaded plugins: refresh-packagekit, rhnplugin
    After Creating the repositery of yum, when i install chrome in RHEL6 [Santiago]
    the terminal giving that error.

    This system is not registered with RHN.
    RHN support will be disabled.
    google-chrome | 951 B 00:00
    Setting up Install Process
    No package google-chrome-unstable available.
    Error: Nothing to do

    Now What i do…..

    • Hi Sarab,

      Could you post output of following commands:

      yum repolist
       
      yum list google*
  7. [root@server ~]# yum repolist
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    repo id repo name status
    Server Server 2,679
    epel Extra Packages for Enterprise Linux 6 – i386 5,874
    google-chrome google-chrome – 64-bit 3
    repolist: 8,556

    [root@server ~]# yum list google*
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Available Packages
    google-authenticator.i686 0-0.3.20110830.hgd525a9bab875.el6 epel
    google-droid-sans-fonts.noarch 20100409-1.el6 epel
    google-droid-sans-mono-fonts.noarch 20100409-1.el6 epel
    google-droid-serif-fonts.noarch 20100409-1.el6 epel
    googlecl.noarch 0.9.9-2.el6 epel

    • Could you post also output of following command:

      cat /etc/yum.repos.d/google.repo
  8. [root@server ~]# cat /etc/yum.repos.d/google.repo
    [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

  9. Actually i m using RHEl6 (Santiago) 64 bit(i686) Version…

    • Hi Sarab,

      i686 = 32-bit
      x86_64 = 64-bit

      Please post output of following commands:

      uname -a
       
      lsb_release -a
  10. [root@server ~]# uname -a
    Linux server.techytes.com 2.6.32-71.el6.i686 #1 SMP Wed Sep 1 01:26:34 EDT 2010 i686 i686 i386 GNU/Linux

    [root@server ~]# lsb_release -a
    LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
    Distributor ID: RedHatEnterpriseServer
    Description: Red Hat Enterprise Linux Server release 6.0 (Santiago)
    Release: 6.0
    Codename: Santiago

    • You have 32-bit Red Hat and 64-bit Google repo, so use following repo instead:

      [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
  11. same error again

    [root@server Desktop]# yum install google-chrome-unstable
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    google-chrome | 951 B 00:00
    http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/primary.xml.gz: [Errno 12] Timeout on http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/primary.xml.gz: (28, ”)
    Trying other mirror.
    Setting up Install Process
    No package google-chrome-unstable available.
    Error: Nothing to do

  12. [root@server Desktop]# yum install google-chrome-stable
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    No package google-chrome-stable available.
    Error: Nothing to do

    • One problem might be that you do not have RHN support and Google Chrome needs some dependencies when you install it, but could you post also output of following command:

      cat /etc/yum.repos.d/*.repo

      If it’s very long output then you can use example http://pastebin.com

  13. I tried it on centos 5.5,is it supported?

    Here are my information during installing.

    –> Finished Dependency Resolution
    google-chrome-stable-18.0.1025.162-131933.i386 from google-chrome has depsolving problems
    –> Missing Dependency: libcurl.so.4 is needed by package google-chrome-stable-18.0.1025.162-131933.i386 (google-chrome)
    google-chrome-stable-18.0.1025.162-131933.i386 from google-chrome has depsolving problems
    –> Missing Dependency: libc.so.6(GLIBC_2.11) is needed by package google-chrome-stable-18.0.1025.162-131933.i386 (google-chrome)
    Error: Missing Dependency: libc.so.6(GLIBC_2.11) is needed by package google-chrome-stable-18.0.1025.162-131933.i386 (google-chrome)
    Error: Missing Dependency: libcurl.so.4 is needed by package google-chrome-stable-18.0.1025.162-131933.i386 (google-chrome)
    You could try using –skip-broken to work around the problem
    You could try running: package-cleanup –problems
    package-cleanup –dupes
    rpm -Va –nofiles –nodigest
    The program package-cleanup is found in the yum-utils package.

    how to solove it?

    • Hi qutengfei,

      CentOS 5 is not supported. More info from this comment.

  14. sorry… doesn’t work at all… :(

    yum install google-chrome-stable
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * base: linux.mirrors.es.net
     * extras: linux.mirrors.es.net
     * updates: mirror.5ninesolutions.com
    Setting up Install Process
    Resolving Dependencies
    --&gt; Running transaction check
    ---&gt; Package google-chrome-stable.x86_64 0:18.0.1025.162-131933 will be installed
    --&gt; Finished Dependency Resolution
     
    Dependencies Resolved
     
    ================================================================================
     Package                Arch     Version                  Repository       Size
    ================================================================================
    Installing:
     google-chrome-stable   x86_64   18.0.1025.162-131933     google-chrome    34 M
     
    Transaction Summary
    ================================================================================
    Install       1 Package(s)
     
    Total download size: 34 M
    Installed size: 100 M
    Is this ok [y/N]: y
    Downloading Packages:
    http://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-18.0.1025.162-131933.x86_64.rpm: [Errno 12] Timeout on http://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-18.0.1025.162-131933.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Trying other mirror.
     
     
    Error Downloading Packages:
      google-chrome-stable-18.0.1025.162-131933.x86_64: failure: google-chrome-stable-18.0.1025.162-131933.x86_64.rpm from google-chrome: [Errno 256] No more mirrors to try.

    another words I am getting 404 – file not found… it looks like google has decided to remove the file

  15. Did you do a yum update first?

  16. thanks @inftt!
    I have some troubles when I follow the step to install google chrome:

    how to resolve?

    • Error Downloading Packages:
      google-chrome-stable-18.0.1025.168-134367.i386: Insufficient space in download directory /var/cache/yum/i386/15/google-chrome/packages
      * free 11 M
      * needed 38 M

      • So you have not enough free space on disk…you have to remove something or get more space some other way… :)

  17. How do i remove chrome and re-install it on my Ubuntu pc?

    ~/.config/google-chrome/Default …I can not find the file where do i look?

    • Hi bp,

      Do you use Google Chrome repo?

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

content

Trackbacks/Pingbacks

  1. Howto Install Google Chrome Web Browser with YUM on Fedora, CentOS … | Chrome OS Blog - [...] View original post here: Howto Install Google Chrome Web Browser with YUM on Fedora, CentOS … [...]
  2. Chrome OS Blog - [...] More: Install Google Chrome with YUM on Fedora, Red Hat (RHEL) | if not … [...]
  3. Upgrade to Fedora 13 from Fedora 12 with Preupgrade | if not true then false - [...] check following tipsFree up space Trick preupgrade into downloading the installerWhat to do next?Install Google Chrome Beta or Google ...
  4. Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org) | if not true then false - [...] – Set NTP servers27. Send hardware profile28. Login Fedora29. Fedora desktopWhat to do next?Install Google Chrome Beta or Google ...
  5. Install Chromium on Fedora Using YUM | If Not True Then False - [...] differences between Chromium and Google Chrome can be found here.Earlier I write guide, howto install Google Chrome (Stable, Beta ...
  6. Install Google Chrome with YUM on Fedora 14 « hblok.net - Linux, Electronics and Tech - [...] at “if !1 0“, they have a straight forward how-to for installing Chrome from a repository in Fedora 13 ...
  7. Centos 5.5 build 2011 | Screws in my coffee - [...] After doing a basic CentOS 5.5 KDE install the first application that I install is Google Chrome. [...]
  8. Instalar google chrome no fedora 14 » Xanadu - [...] o repositório do google chrome ao yum, este site mostra como fazer [...]
  9. KYO's Tech » Blog Archive » Redhat/FedoraへGoogleChromeをインストール - [...] 参考:Install Google Chrome with YUM on Fedora 14/13, Red Hat (RHEL) 6 [...]
  10. New to linux, struggling to download google chrome - help please? - [...] First of all, which version of Fedora are you using? First you need to update your system (yum ...
Bear