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

careers
Follow If Not True Then False Updates!
  1. Install OpenOffice 3.3.0/3.4.0 on Fedora 16/15, CentOS/RHEL 6.2/5.7
  2. Install Sun/Oracle Java JDK/JRE 7u2 on Fedora 16/15, CentOS/RHEL 6.2/5.7
  3. Install VirtualBox 4.1.8 on Fedora 16/15, CentOS/Red Hat (RHEL) 6.2/5.7
  4. Install Sun/Oracle Java JDK/JRE 6u30 on Fedora 16/15, CentOS/RHEL 6.2/5.7
  5. Install Memcached on Fedora 16/15, CentOS/Red Hat (RHEL) 6.2/5.7

76 Comments

  1. Why do all this? Just install the package from google.com/chrome and it will automatically add the repo.

    • Hi Rohan Dhruva,

      Thank you for your comment.

      First of all, the answer to your why question?
      Some users are accustomed to use the command line and want to install the repositories and packages using the command line. And this manual method is very simple in my opinion, even simpler, than the “terms of use” approval on Google’s website, downloading RPM and installing it manually. But this is of course just my opinion.

      Thank you, however, a good tip. Personally, I did not even know that Google Chrome RPM package install will also install Google YUM repository.

      Btw. I could not find the Google Google Chrome Unstable version from download page, just only Google Chrome Beta version?

    • how to install google chrome in 32 bit linux(fedora 16)

      google-chrome-stable-16.0.912.77-118311.i386 requires libcurl.so.4
      google-chrome-stable-16.0.912.77-118311.i386 requires libgconf-2.so.4
      google-chrome-stable-16.0.912.77-118311.i386 requires libXss.so.1
      google-chrome-stable-16.0.912.77-118311.i386 requires lsb >= 4.0
      google-chrome-stable-16.0.912.77-118311.i386 requires libnss3.so(NSS_3.12.3)
      google-chrome-stable-16.0.912.77-118311.i386 requires libbz2.so.1

      above error occurs while installing the google chrome

      • Hi monica,

        Could you post full/real error message, because I can’t see any error message? Only libraries what Google Chrome requires.

  2. Thanks for the post, enjoyed it.

  3. Error: Missing Dependency: lsb >= 3.2 is needed by package google-chrome-beta
    Error: Missing Dependency: xdg-utils is needed by package google-chrome-beta

  4. This does not work on CentOS. Much the same as grabbing it from google.com like Rohan suggested.

    Google refuses to support CentOS
    http://www.google.com/support/forum/p/Chrome/thread?tid=3589270c5896c968&hl=en

    I suggest you remove the CentOS part from your title.

    Thanks.

    • Hi Dave,

      Thank you for your correction, you’re absolutely right that, currently, Google Chrome can not be installed on CentOS 5.4 distribution.

      My apologies to you Dave and all other readers who have mistakenly imagined, that Google Chrome could install on the CentOS 5.4 distribution.

      I removed all references, to the CentOS (not only title part), because my purpose is help others here and certainly not share wrong information here. :)

      But it is good to note that Red Hat (RHEL) 6 is newer and has newer packages, so this guide works brilliantly with new Red Hat 6. As well as this “Test Driving Red Hat Enterprise Linux 6” writing shows.

      It therefore appears that the original Google’s Google Chrome can be installed on the next CentOS (CentOS 6).

  5. This works a treat on Fedora 13 i386 and x86_64. I for one agree with JR. I prefer to install programs from the command line. For one its much faster, two I can see everything that is going on and what is being installed, 3rdly you don’t have to put your root password in 2 or 3 different times when installing from the CLI. Unlike installing an RPM. Its almost as bad as UAC’s on Windows Vista and 7

  6. You can have both the 32-bit and 64-bit repo info in one file and move the google.repo file to any fedora system to make management easier. Also one may prefer to install the google-chrome-stable version instead of a beta or unstable version.

    • Hi Jeff,

      Thanks for the tip. It’s true that the Google Chrome 32-bit and 64-bit repos can be combined in one file. And this certainly facilitates the google.repo file transfer system to another.

      I added Google Chrome Stable version installation in this guide.

  7. Hey, thank you for this helpful blog post. I was trying to clean up my yum repositories because of a problem somewhere in there. Of course, that involved removing the old .repo files, one of which was Google’s update repository. I was looking for what to put in the file so I could be sure Chrome stays patched. Your blog was the first to give me what I needed, so thanks again.

    People like Rohan Dhruva are ridiculously ignorant if they cannot see the immense benefit of this kind of blog post. Some Linux users wonder what we have to fear from n00bs picking up on the OS, and quite frankly this is a perfect manifestation of the overall lack of interest in knowledge some people bring to the table. As much as people like Rohan would like it to do so, THE GUI DOES NOT FIX EVERYTHING BY MAGIC. Believe it or not, Linux is heavily dependent on underlying config files, and, yes, sometimes hands have to get dirty!

    The official Google Chrome download page will be very easy to find for those who are looking for it (especially using a Google search for “google chrome,” which is what every single person with more than one brain cell will be doing if they want to know how to install Chrome but can’t figure it out). While the point-and-click method WILL add the repository automatically, it is sometimes necessary or desirable to use the methods presented in this post. Either way, the author is providing information to the community that could very well be of help to someone (it was to me), yet you are complaining?

    Rohan, people like you will be the downfall of the open-source community. On the other hand, JR, thanks for your time.

    • Oh, and by the way, if anyone is getting Errno 14s, “Cannot retrieve repository metadata…,” pycurl errors, etc. on certain repositories seemingly no matter what they do, it might indicate a DNS resolution problem. Try pinging the server in question, find out the IP address, and add it to your /etc/hosts file. It fixed some things for me.

  8. Great Post . It helped me a lot for installing chrome thanks

  9. These instructions assume a certain ability. I don’t know how to add this to the etc file. Where can I find more basic step by step instructions? My default package installer isn’t playing along so I cant install Skype, Picasa Chrome and the like.

    • Hi Sean,

      Yes you are right these instructions assume a certain ability.

      This is more step-by-step, howto create that file…try following:
      1. Open command line
      2. Change root user (check this guide)
      3. Open /etc/yum.repos.d/google.repo file on your favourite editor (example gedit)

      gedit /etc/yum.repos.d/google.repo

      4. Paste content
      5. Save

      Now you have Google-Chrome repository added and you can use (example) package installer to install Google-Chrome.

  10. I’m sorry but I’m newbie in using this…

    what other editor can I use other that gedit? I typed the command to create a .repo file and it doesnt work for some reason. Command blah, blah….

    PLease help..

    • Hi Joemar,

      You can use any text editor such as vi, vim, nano, pico, joe, kate, kwrite and so on.

      I guess that the another text-editor is not enough to solve your problem. So maybe you could clarify a little, what is problem with Google repository? And what error messages you get?

  11. Thanks! It is very simple. It helped me and worked like a charm…. :)

  12. I have used vim to create a .repo file, but how can I save the file? Thank you… Im seriously loving fedora for some reason… :D

    • You can save file with changing Vim editor to command mode, pressing Esc key and then write :x and press Return key.

  13. Thank you. I am currently installing the file.

    Thank you very much

  14. better use :wq for saving and quitting the file after pressing esc.

  15. Hi, am trying hard to get chrome on my fedora 13 but all I get after following the instructions is this on my terminal.

    [nassif@nassif ~]$ su
    Password:
    [root@nassif nassif]# gedit /etc/yum.repos.d/google.repo

    (gedit:4002): GnomeUI-WARNING **: While connecting to session manager:
    Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
    [root@nassif nassif]# yum install chromium
    Loaded plugins: refresh-packagekit
    http://repos.fedorapeople.org/repos/spot/chromium/fedora-9/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again
    [root@nassif nassif]#

    • Hi nassif,

      Actually you are installing Chromium browser using very very old Fedora 9 repo. So you are not followed this guide at all…

      To install Google Chrome, please follow this guide or if you want install Chromium then follow Chromium install guide.

  16. Thanks a lot, JR. I thought I had fedora 13 because the download said 13. Could you please tell me how I could upgrade to fedora 13 and please bare with me am new to linux.
    Thanks.

    • I think you have Fedora 13, but you have added old and wrong Fedora 9 repository on you system…could you post output of following commands:

      uname -a

      and

      lsb_release -a

      and

      yum repolist

      and

      ls -la /etc/yum.repos.d/
  17. Here is what I got, hope I did it right.

    [nassif@nassif ~]$ lsb_release -a
    bash: lsb_release: command not found
    [nassif@nassif ~]$ yum repolist
    Loaded plugins: refresh-packagekit
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again
    [nassif@nassif ~]$ ls -la /etc/yum.repos.d/
    total 72
    drwxr-xr-x 2 root root 4096 2010-10-09 20:35 .
    drwxr-xr-x 101 root root 12288 2010-10-12 19:24 ..
    -rw-r–r– 1 root root 179 2007-07-25 14:45 adobe-linux-i386.repo
    -rw-r–r– 1 root root 145 2010-10-09 20:21 chromium.repo
    -rw-r–r– 1 root root 233 2010-10-09 20:19 chromium.repo~
    -rw-r–r– 1 root root 12288 2010-10-09 20:37 .chromium.repo.swp
    -rw-r–r– 1 root root 1909 2008-09-08 13:46 fedora-rawhide.repo
    -rw-r–r– 1 root root 1090 2008-09-08 13:46 fedora.repo
    -rw-r–r– 1 root root 1216 2008-09-08 13:46 fedora-updates-newkey.repo
    -rw-r–r– 1 root root 1108 2008-09-08 13:46 fedora-updates.repo
    -rw-r–r– 1 root root 1289 2008-09-08 13:46 fedora-updates-testing-newkey.repo
    -rw-r–r– 1 root root 1181 2008-09-08 13:46 fedora-updates-testing.repo
    -rw-r–r– 1 root root 162 2010-10-09 20:31 google.repo
    -rw-r–r– 1 root root 162 2010-10-09 20:28 google.repo~
    [nassif@nassif ~]$

  18. uname -a

    [nassif@nassif ~]$ uname -a
    Linux nassif.localdomain 2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18 12:47:50 EDT 2009 i686 i686 i386 GNU/Linux
    [nassif@nassif ~]$

  19. Hi nassif,

    First thing it looks like you have actually installed Fedora 9, or at least your kernel is Fedora 9 kernel.

    And secondly, your Chromium repository is broken. You should remove Chromium repo file so you get your yum working again.

    I recommend to download Fedora 13 Linux from here and install it. Then try to install Google Chrome again using this guide.

  20. HI,

    I am currently using RHEL 5 and wanted to install google chrome…

    m getting following error messages :

    [root@zconhadoop yum.repos.d]# yum install google-chrome-stable
    Loading “rhnplugin” plugin
    Loading “installonlyn” plugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    Setting up repositories
    google 100% |=========================| 951 B 00:00
    adobe-linux-i386 100% |=========================| 951 B 00:00
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    –> Populating transaction set with selected packages. Please wait.
    —> Downloading header for google-chrome-stable to pack into transaction set.
    google-chrome-stable-7.0.517.44-64615.i386.rpm 54 kB 00:01
    —> Package google-chrome-stable.i386 0:7.0.517.44-64615 set to be updated
    –> Running transaction check
    –> Processing Dependency: libnss3.so(NSS_3.12.3) for package: google-chrome-stable
    –> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable
    –> Finished Dependency Resolution
    Error: Missing Dependency: libnss3.so(NSS_3.12.3) is needed by package google-chrome-stable
    Error: Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable

    i have downloaded nss-3.12.6-7.fc13.i686.rpm … bt der also dependencies problm
    please suggest me some answer

    thanks in advance…

  21. Hi, I prefer too the shell to install this things.., you can see the details about whats happening in your system!! Thank, great job

  22. Shame that Developers of Google Chromium do not take care about one of the most stable, commercial and business oriented distribution of Linux: Red-Hat.
    Let Me just Say that for Example OPERA installs just perfect on Red-Hat.

    Why to Use Chromium at all ?

  23. Perfect. Straight to the point and simple to follow!

  24. thanks so much — this has been a great help

  25. Dear All
    I am using fedora 14 64 bit, I was facing the problem of the following error

    lsb >= 3.2 is needed by google-chrome-stable-8.0.552.237-70801.x86_64

    I resolve the problem as said above & now I am happy,
    Resolving the problem I take the following steps

    Enable Google YUM repository
    Add following to /etc/yum.repos.d/google.repo file:

    For 64 bit

    [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

    Install Google Chrome with YUM (as root user)
    Install Google Chrome Stable Version

    Command for the installation
    (yum install google-chrome-stable)

    this procedure fix the problem for me

  26. This is great. I have Fedora 14 fresh installation and the usual easy method of just going to a site and clicking install failed miserably, hangs and fails at missing dependencies. This little tutorial is easy enough to follow and I am now watching the console install the dependencies and Chrome.. if all goes well I should be browsing in my favourite software soon!

    Thanks a bunch.

  27. thanks for your suggestion.., it works !!!!

  28. This article is great !!

    I need google-chrome in Oracle Enterprise Linux 5.

    I created Repo :

    [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

    Output for
    —————-
    I am running the following commands with the root user only

    Command : uname -a
    ——————————————-
    Linux dev.xyz.com 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

    Command : lsb_release -a
    ———————————————–
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    Distributor ID: EnterpriseEnterpriseServer
    Description: Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
    Release: 5.5
    Codename: Carthage

    Command : yum repolist
    ———————————————–
    Loaded plugins: security
    repo id repo name status
    google-chrome google-chrome enabled: 3
    google64 Google – x86_64 enabled: 4
    rpmforge Red Hat Enterprise 5 – RPMforge.net – dag enabled: 10,372

    repolist: 10,379

    Command : yum install google-chrome-stable
    ———————————————————————–
    Loaded plugins: security
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:9.0.597.107-75357 set to be updated
    –> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable
    –> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    –> Finished Dependency Resolution
    google-chrome-stable-9.0.597.107-75357.x86_64 from google-chrome has depsolving problems
    –> Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (google-chrome)
    google-chrome-stable-9.0.597.107-75357.x86_64 from google-chrome has depsolving problems
    –> Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (google-chrome)
    Error: Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (google-chrome)
    Error: Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-9.0.597.107-75357.x86_64 (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.

    Work around tried : Installed the rpm for google-chrome 64-bit
    as
    rpm -ivh –nodeps google-chrome-stable_current_x86_64.rpm

    Google-chrome Installed but dependencies are not resolved.

    Please give me suggestions, I am in a huge need to use it.

    With Regards,
    KSD

    • Hi KSD,

      This is not working on CentOS 5, Red Hat (RHEL) 5 or Oracle Enterprise Linux 5.

      Some discussion about this problem:
      Google Chrome support for CentOS / RHEL 5

      But this guide and installation method works fine, with RHEL 6.

      • Ok, thanks JR.

  29. Greetings,

    I am new on Linux and i have successfully installed Google chrome with help of you guys I am really thankful to all of you for helping us and showing us the step by step instructions:)

    [root@localhost Downloads]# vi /etc/yum.repos.d/google.repo

    Past following:
    ==============================================
    [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
    ===============================================

    Save the file and:

    [root@localhost Downloads]# yum install google-chrome-stable_current_x86_64.rpm
    o be installed
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:10.0.648.151-78498 set to be installed
    –> Processing Dependency: lsb >= 3.2 for package: google-chrome-stable-10.0.648.151-78498.x86_64
    –> Running transaction check
    —> Package redhat-lsb.x86_64 0:4.0-5.fc14 set to be instLoaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    .
    .
    .
    .
    .
    .

    Dependency Installed:
    gettext.x86_64 0:0.18.1.1-5.fc14 gettext-libs.x86_64 0:0.18.1.1-5.fc14 patch.x86_64 0:2.6.1-8.fc14 pax.x86_64 0:3.4-10.fc12 redhat-lsb.x86_64 0:4.0-5.fc14

    Complete!
    [root@localhost Downloads]#

    Thanks Everybody for you time :)

  30. I commend you for your patience with dealing with people who are asking very green questions. Linux is lucky to have some people left who are willing and competent in helping people overcome the learning curve.

    As a note, the version of chrome I downloaded today from http://www.google.com/chrome did not install the repo file. After looking into why, it appears google is now adding the repository after running a cron job (cron.daily). The really weird thing is that as installed, the cron job will not run, as the /etc/default/google-chrome file has repo_add_once set to false. So I’m puzzled….

    Also, my main complaint against the cron file is that it wants to call the repository google-chrome, which no longer makes sense since they’ve shoved the gadgets, desktop, and performance tools in there as well.

    Anyway, I ended up deleting the cron file and adding the repo file … just like your webpage had. Thanks for blogging this, and keep up your excellent work in linux ambassadorship!

  31. Hey, thank you for this guide.
    I just installed a fresh fedora 15, and when i try using chrome at the university – through a proxy – there comes the following error:

    When running Google Chrome under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem while launching your system configuration.

    But you can still configure via the command line. Please see man google-chrome for more information on flags and environment variables.

    Does someone have an idea how to fix it?

  32. Instead of having two version this will work for both 32 bit (i386) and 64 bit (x86_64)

    [Google]
    name=Google
    baseurl=http://dl.google.com/linux/rpm/stable/$basearch
    gpgcheck=1
    gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

    • Hi Vin,

      Nice one! :)

      This is an effective way, but I will leave instructions for a separate 32-bit and 64-bit options, because, someone may want to install 32-bit version on 64-bit Fedora because of Flash.

  33. Worked like charm
    Thanks

  34. Hey a question, this Google Chrome seems very outdated, its version is 7.0.517.44 and the one in Chromium is like 12.0.718.0 (0). Did i do something wrong or something???

    • Hi George,

      This guide uses Google Chrome official repos and example I use currently on this Fedora 15 machine Google Chrome Beta 13.0.782.24. And even Google Chrome Stable should be 12.x.xxx.xx.

      Which operating system (and version) you are using?

      Try update your chrome with command:

      yum update google-chrome-stable
      ## OR ##
      yum update google-chrome-beta
      ## OR ##
      yum update google-chrome-unstable
  35. HI All ,

    AM getting below mentined error during YUM istallation and also tried with .rpm same issue observed

    Error: Missing Dependency: lsb >= 3.2 is needed by package google-chrome-stable-7.0.517.44-64615.i386 (google)
    Error: Missing Dependency: libnss3.so(NSS_3.12.3) is needed by package google-chrome-stable-7.0.517.44-64615.i386 (google

    Can any one say what s the problem?

    • Hi Jad,

      What Linux Distro you are using?

  36. same here:

    # yum clean metadata
    # yum install google-chrome-unstable

    results in google-chrome-unstable x86_64 9.0.576.0-65344

    Fedora 15

    • # yum update

      will bring it to 14.0.835.0-94025 though!

  37. Tried the install of the unstable build on a CentOS 5.6 box. yum reported no errors, but chrome absolutely wouldn’t start. Trying a yum update (thinking maybe dragging it from 9 -> 14 might help) only dropped me into dependency hell.

    So, tried the stable release. Tried to install from google repo, same dependence issue. Needs libcurl.so.4. Standard curl lib install for CentOS 5.6 is libcurl.so.3

    So, CentOS 5.6 is shut out of chrome. A colleague says things are fine on CentOS 6.0 (in part because curl is update from so.3 to so.4, apparently).

    • Hi egc,

      Google Chrome is not compatible with CentOS/RHEL 5.6, this guide is only for Fedora and CentOS/RHEL 6.

    • How can we go about getting libcurl.so.4 built on CentOS 5.6?

      • Hi Ernie,

        libcurl.so.4 is not only missing package on CentOS 5.6 (5.7) / Red Hat (RHEL) 5.6 (5.7). I think that the much bigger problem is glibc 2.5 package and Google Chrome needs glibc 2.8, if you build glibc 2.8 on your system, it could break the entire system…

  38. i am not able to configure my proxy, i am getting this ERROR

    please someone help me.


    [rp@RP lab6]$ google-chrome --proxy-server="socks://10.0.0.21:3128"
    [2862:2862:4806775350:ERROR:chrome/common/json_pref_store.cc(48)] Error reading Preferences: File doesn't exist. /home/rp/.config/google-chrome/Local State: No such file or directory
    Created new window in existing browser session.
    [rp@RP lab6]$

    • Hi prasad,

      Try first close all google-chrome instances and then start it with same command?
      Or try to set proxy server from preferences.

  39. followed your instructions and everything just fine. really you made things easier. thanks

  40. The chrome install steps above work like charm on fedora 15 security lab
    The java/flash was not working with firefox and Midori. I can watch all videos on youtube
    with chorome and dont have worry about the java or flash. I saved the steps via vi editor.
    Awesome tip..

  41. I was able to install Chrome on Oracle RHEL 6, but got the following errors when trying to run it:

    [oracle@vrep ~]$ cat /etc/*release
    Oracle Linux Server release 6.1
    Red Hat Enterprise Linux Server release 6.1 (Santiago)
    Oracle Linux Server release 6.1
    [oracle@vrep ~]$ google-chrome
    /usr/bin/google-chrome: /lib64/libz.so.1: no version information available (required by /usr/bin/google-chrome)
    /usr/bin/google-chrome: /lib64/libz.so.1: no version information available (required by /usr/bin/google-chrome)
    Failed to move to new PID namespace: Operation not permitted

    • Hi Christoph,

      Could you post output of following commands:

      rpm -qa google-chrome* zlib
       
      ls -la /lib64/libz.so.1

      Do you get any SELinux errors?

  42. I got these errors!

    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.i386 0:16.0.912.63-113337 set to be updated
    –> Processing Dependency: libpng12.so.0 for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Processing Dependency: libXss.so.1 for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Processing Dependency: libcurl.so.4 for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Processing Dependency: libnss3.so(NSS_3.12.3) for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Processing Dependency: libgconf-2.so.4 for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Processing Dependency: libbz2.so.1 for package: google-chrome-stable-16.0.912.63-113337.i386
    –> Finished Dependency Resolution
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libgconf-2.so.4
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libnss3.so(NSS_3.12.3)
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libpng12.so.0
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libXss.so.1
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libcurl.so.4
    Error: Package: google-chrome-stable-16.0.912.63-113337.i386 (google-chrome)
    Requires: libbz2.so.1
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    • Could you first tell what system you are using?

  43. I have the following dep-errors in my CentOS release 5.7 (Final) box:

    yum install google-chrome-stable
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.csclub.uwaterloo.ca
    * extras: mirror.csclub.uwaterloo.ca
    * updates: centos.mirror.netelligent.ca
    google-chrome | 951 B 00:00
    google-chrome/primary | 1.4 kB 00:00
    google-chrome 3/3
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:16.0.912.63-113337 set to be updated
    –> 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: libcurl.so.4()(64bit) for package: google-chrome-stable
    –> Running transaction check
    —> Package google-chrome-stable.x86_64 0:16.0.912.63-113337 set to be updated
    –> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: google-chrome-stable
    –> Processing Dependency: libcurl.so.4()(64bit) for package: google-chrome-stable
    —> Package xdg-utils.noarch 0:1.0.2-2.el5.centos set to be updated
    –> Finished Dependency Resolution
    google-chrome-stable-16.0.912.63-113337.x86_64 from google-chrome has depsolving problems
    –> Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package google-chrome-stable-16.0.912.63-113337.x86_64 (google-chrome)
    google-chrome-stable-16.0.912.63-113337.x86_64 from google-chrome has depsolving problems
    –> Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-16.0.912.63-113337.x86_64 (google-chrome)
    Error: Missing Dependency: libcurl.so.4()(64bit) is needed by package google-chrome-stable-16.0.912.63-113337.x86_64 (google-chrome)
    Error: Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package google-chrome-stable-16.0.912.63-113337.x86_64 (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.

    Any hints to solve this issues ?

    • Hi Moko,

      Google Chrome is not compatible with CentOS 5 (5.7) or Red Hat (RHEL) 5 (5.7).

      Only way is to build manually all those dependencies, but I can’t recommend Glibc building manually, because very likely that breaks the whole system. So the only sensible way is run virtual machine, with newer distro (example CentOS 6) or change / upgrade your system to CentOS 6.

  44. Very nice its too much helpful.
    Thank to Admin & developer

  45. Another way to enable google repo:
    wget https://dl-ssl.google.com/linux/linux_signing_key.pub
    sudo rpm –import linux_signing_key.pub

    You can verify the key installation by running:
    rpm -qi gpg-pubkey-7fac5991-*

    Best regards.

    • Hi 3D_Kid,

      Your commands just import Google public key not enable repo…or maybe I understand something wrong what you meant?

  46. How about using this repo file which for both 32/64 bit:

    [google-chrome]
    name=google-chrome – $basearch
    baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
    enabled=1
    gpgcheck=1
    gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

    • Yes it’s normal way to do this (just like every repos work), but this guide have separate versions, because some users want to use 32-bit repo on 64-bit Linux…

  47. Thanks! I believe Chrome could help me out with the OpenDns issue. I am having trouble with mozilla lately.
    Thanks again great job.

  48. Does not work right away in CentOS 5.7: You will need to build and install libcurl.so.4 and libc.so.6 to get it to work….

    • Hi W Sanders,

      This guide is not for CentOS 5.7 / RHEL 5.7. For more info you can check example this comment.

  49. than u buddy !!! you made my day !!

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="">

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