Install Chromium on CentOS/Red Hat (RHEL) 6.5

chromium-logoThis is huide howto install Chromium Browser (with Adobe Pepper Flash plugin) on CentOS 6 / Red Hat (RHEL) 6. Move directly to Chromium install guide.

It’s true Google Says Red Hat Enterprise Linux 6 Is Obsolete and after latest update, Google Chrome won’t work anymore on CentOS 6/Red Hat (RHEL) 6. Someone might think that it’s time to change Firefox or Opera, but if you have get used to Google Chrome, then it might be hard. Currently it might be possible to compile newer GCC and get Google Chrome working on Enterprise Linux 6, but more important news is that, the Google says Red Hat Enterprise Linux 6 Is Obsolete and later Google Chrome updates might need something new dependencies what Enterprise Linux 6 doesn’t have.

One interesting thins is Google Chrome still supports example Windows XP and Ubuntu 10.04, but yes, it looks like CentOS/RHEL users have to wait CentOS 7 / Red Hat (RHEL) 7 to get Google Chrome work again.

You will get following error when you try to install Google Chrome currently on CentOS/RHEL 6:

--> Finished Dependency Resolution
Error: Package: google-chrome-stable-28.0.1500.52-207119.x86_64 (google-chrome)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

And if you check GLIBCXX versions then you see this:

strings /usr/{lib,lib64}/libstdc++.so.6 | grep GLIBCXX
 
## Output ##
strings: '/usr/lib/libstdc++.so.6': No such file
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

No GLIBCXX_3.4.15!

That’s why here is guide howto install Chromium Browser on CentOS/Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6. Yes it’s not Google Chrome, but much better choice than change to another browser if you like Google Chrome style and with Chrome plugins it’s really close original Google Chrome.

Install Chromium Browser on CentOS 6.5 / Red Hat (RHEL) 6.5

1. Change root user

su -
## OR ##
sudo -i

2a. Install NCSU ITECS repository (64-bit only)

yum localinstall http://install.linux.ncsu.edu/pub/yum/itecs/public/chromium/rhel6/noarch/chromium-release-1.1-1.noarch.rpm

2b. Install/enable hughesjr Chromium EL 6 repository (32-bit and 64-bit)

Not only old version(s) available.

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

3. Install Chromium Browser on CentOS 6 / RHEL 6

yum install chromium

4. Start Chromium Browser

Use Chromium Launcher from Menu:
Chromium Launcher CentOS 6

Or alternatively run command:

/opt/chromium/chrome-wrapper %U

Chromium running on CentOS 6

Chromium Running on CentOS 6

Chromium running on CentOS 6.4 with Pepper Flash Plugin and Chrome PDF Viewer Plugin

Chromium running on CentOS 6.4 with Pepper Flash Plugin and Chrome PDF Viewer Plugin

Chromium running on CentOS 6.4 (Adobe Flash Test Page)

Chromium running on CentOS 6.4 (Adobe Flash Test Page)

Follow If Not True Then False Updates!

46 Comments

  1. Can you make a post of how to install pepper flash for this chromium browser?

    • Hi hadrons123,

      This is good idea, I add Pepper Flash installation soon on this guide. :)

    • Hi again hadrons123,

      Now here is guide howto install Pepper Flash plugin and Chrome PDF Viewer plugin on Chromium. Check steps 4. and 5.

  2. I love u guys, I’ll not moving from my CentOS too soon, kkk!!!

  3. O!!! Thanks!
    P.S. Last google-chrome for Centos on my dropbox (x86_64 version 26.0.1410.63)
    https://dl.dropboxusercontent.com/u/40339900/google-chrome-stable-26.0.1410.63-192696.x86_64.rpm

    • Hi redix,

      You are welcome! And thanks for sharing last google-chrome!

  4. 2 bugs -chromium related- until now… One that says my jre, even 7u25, is obsolete. Workaround: Start chromium with: “–allow-outdated-plugins” parameter without quotes. And other that pdf plugin is crashing, here is a explanation: https://code.google.com/p/chromium/issues/detail?id=105102

    • Hi Renatinho,

      Thanks for this info!

  5. Hi, JR, can you make a lesson how to install latest GIMP on CentOS ?

    Best regards,
    George!

  6. This installs in opt directory , but how do you link it with oracle’s jre, preferably latest one?

  7. Hi JR,

    As an FYI:

    Repo russianfedora-free has a very old, non-working, version of chromium (18.0.972.0 ), which can get installed instead of chromium-el6 (28.0.1500.95) if you have used priority settings in your repo files.

    It’s best if you fix your priority setting first, as russianfedora-free pulls in two other packages that may interfere with the chromium-el6 package.

    This is what I got doing it the wrong way around:
    [root@localhost yum.repos.d]# (30786)/ KStartupInfo::createNewStartupId: creating: “localhost.localdomain;1380833683;46567;30786_TIME0″ : “unnamed app”
    kbuildsycoca4 running…

    To get the correct version installed, clear out the old:

    yum remove chromium
    yum remove v8-3.14.5.10-2.el6.x86_64
    yum remove chromium-ffmpeg-18.0.972.0-1.el6.R.x86_64

    Then add a lower “priority=NN” line to the chromium-el6.repo file in the /etc/yum.repos.d directory and:

    yum install chromium

    Running Transaction
    Installing : chromium-28.0.1500.95-213514.x86_64 1/1
    Verifying : chromium-28.0.1500.95-213514.x86_64 1/1

    Installed:
    chromium.x86_64 0:28.0.1500.95-213514

    Complete!

    Seems to work? Well, not on CentOS release 6.3 (Final):

    [michael@localhost ~]$ /opt/chromium/chrome-wrapper
    /opt/chromium/chrome: symbol lookup error: /opt/chromium/chrome: undefined symbol: _XGetRequest

    Any thoughts?

    Best,
    Michael

    PS: Thanks for all the write ups you do. I’ve used many over the years.

  8. Hi JR,

    Can you add to this guide how to install the last working version of Chrome on CentOS 6.3 and earlier? Where to DL the older Chrome RPM, etc.

    Thanks,
    Michael

    • Hi Michael,

      I have currently on CentOS 6.4 graphical installations where I can test this, but for me this looks to work normally. I can’t recommend you to use old chrome packages, because there is lots of security fixed release since latest working chrome version.

      Could you upgrade your system(s) to CentOS 6.4?

  9. You can get older Chrome versions here:

    http://shersonb.net/repositories/google-chrome/

    The command to install the last v27 is:

    yum –nogpgcheck localinstall google-chrome-stable-27.0.1453.110-202711.x86_64.rpm

    > Could you upgrade your system(s) to CentOS 6.4?

    No. And why is that always the answer? Things break during upgrades, spending hours fixing, resolving broken dependencies, and recompiling working software for a version upgrade is tedious at best. Moronic in the extreme, if one only needs to have a working version of single piece of software.

    Yes, it’s Google’s lunacy in this specific case, but CentOS is fairly horrible about leaving your system trashed after an upgrade.

    Best,
    Michael

    • Hi again Michael and thanks!

      Yes, you can run old Google-Chrome if you want to.

      And I see your point about upgrades (something like, If It Works, Don’t Fix It!), but normally RHEL/CentOS upgrades are very “stable” and only some minor changes.

  10. Hi JR,

    Followed the directions above and it replaced my Chrome. Is that normal? It seems to work fine…thank you for guide. I am running:
    Red Hat Enterprise Linux Server release 6.4 (Santiago).

  11. Thank you very much, it worked like a charm!

  12. You rock guys, great post! FYI, this is all applicable to Oracle Enterprise Linux as well

  13. I’m not sure why, however this guide doesn’t work for me, I’ve followed the instructions all the way through but flash doesn’t work. Do you have any advice on troubleshooting this?

  14. help
    my rhel6.4, yum install chromium ,seuccess,but /usr/bin/chromium-browser %U –user-data-dir
    /usr/bin/chromium-browser: symbol lookup error: /usr/bin/chromium-browser: undefined symbol: gdk_screen_get_primary_monitor (T-T)

  15. Same here, any idea?

    alexrl@localhost ~ $ chromium-browser
    /usr/bin/chromium-browser: symbol lookup error: /usr/bin/chromium-browser: undefined symbol: gdk_screen_get_primary_monitor
    alexrl@localhost ~ $

  16. Ryan,

    Same here. I noticed that with the latest version of chromium, that libpepflashplayer.so is already included (see rpm queries below), so maybe there is a conflict somewhere. In any case, I uninstalled chromium and removed /opt/chromium to get rid of the custom pepper flash player install. Then I reinstalled the latest chromium, and flash still isn’t functional. It shows up in about:plugins and is enabled there, but just doesn’t seem to kick in.

    $ rpm -q chromium
    chromium-31.0.1650.63-1.el6.x86_64

    $ rpm -qf /opt/chromium-browser/PepperFlash/
    chromium-31.0.1650.63-1.el6.x86_64

    $ ll /opt/chromium-browser/PepperFlash/
    total 16688
    -rwxrwxr-x 1 root root 17081824 Dec 5 03:51 libpepflashplayer.so
    -rw-rw-r– 1 root root 2055 Dec 5 03:51 manifest.json

  17. I figured it out! It was failing to load the nouveau (open source nvidia) driver. You can see if this is the case for you if you run /opt/chromium-browser/chromium-browser.sh from a terminal, then look in the output for an error regarding libGL. The way I verified this was by disabling the flash plugin with about:plugins, start up chromium again from a terminal, notice no libGL error, then enable flash plugin, error displays in terminal.

    To fix this, I installed kmod-nvidia from here: http://elrepo.org/tiki/kmod-nvidia and now flash is working properly.

    Hope this helps someone else.

  18. Thanks JR for a great tutorial. I’ve used this before with success but with a new installation I’m failing.

    After followin all steps I end up with two chromium links in the application menu, one seems to be the original chromium installation wq/o Pepper Flash.

    The other one is missing the icon and when trying to run I get:

    Failed to execute child process “/opt/chromium/chrome-wrapper” (No such file or directory)

    I looked under /opt and there are two folders

    /opt/chromium-browser
    and
    /opt/chromium

    And under /opt/chromium there is only one file/folder which is /PepperFlash/
    I’ve tried to uninstall everything and redo the process several times but everytime it seems as though the Pepper Flash script is not replacing the old chromium installation but adding another non working copy of chromium.

    anyone else who have had this problem?

    I did try to fix it by uninstalling chromium but leaving the files the scripts had downloaded. Then reinstalling and edit /usr/share/applications/chromium-browser.desktop with the line

    Exec=/usr/bin/chromium-browser %U –ppapi-flash-path=/opt/chromium/PepperFlash/libpepflashplayer.so –ppapi-flash-version=12.0.0.41

    This didn’t help though, I can see the plugin in about:plugins but flash videos just won’t play.
    Flash in Firefox works.

    Maybe someone have had the same problem and solved it.

  19. I was also getting this “undefined symbol: gdk_screen_get_primary_monitor”

    Doing ‘sudo yum install gtk2′ fixed the problem.

  20. Hi everyone, who have problems with Chromium install on CentOS/RHEL 6.5!

    Just updated this guide and tested it (quickly) on clean installed CentOS 6.5.

    Currently Adobe Pepper Flash is included on Chromium RPM package, so no need to extract it from Google Chrome’s RPM package. Due to Chromium manual build process, RPM doesn’t always contain latest version of Pepper Flash. If you want / need always latest Pepper Flash, then extracting it from Google Chrome RPM is possible way, but earlier script is not working anymore.

  21. Thank you, mmoz – your line worked for me as well.

    yum install gtk2 fixed the “undefined symbol: gdk_screen_get_primary_monitor” issue.

    I now have it working fine in CentOS 6.4, 32-bit version.

  22. you need to install libX11 and gtk2 to get rid of those errors..
    yum install gtk2
    yum install libX11

  23. gtk2 for error for symbol gdk_screen_get_primary_monitor AND
    libX11 for error due to symbol _XGetRequest

  24. PepperFlash plugin is included in the latest RPM? Am I blind?

    $ rpm -qip chromium-31.0.1650.63-2.el6.i686.rpm
    Name : chromium Relocations: (not relocatable)
    Version : 31.0.1650.63 Vendor: CentOS
    Release : 2.el6 Build Date: Sa 15 Feb 2014 18:45:21 CET
    Install Date: (not installed) Build Host: sclbuild
    Group : Applications/Internet Source RPM: chromium-31.0.1650.63-2.el6.src.rpm
    Size : 114641192 License: BSD and LGPLv2+
    Signature : RSA/SHA1, Sa 15 Feb 2014 19:33:09 CET, Key ID 119c1a87ef1d6db8
    Packager : CentOS BuildSystem
    Summary : A WebKit powered web browser
    Description :
    Chromium is an open-source web browser, powered by WebKit.

    $ rpm -qlp chromium-31.0.1650.63-2.el6.i686.rpm | grep -i flash

    Hmm, where?

    • Hi Andreas,

      Checked this after I read your comment, it’s removed on last build:

      * Fri Feb 14 2014 Johnny Hughes <johnny@centos.org> 31.0.1650.67-2
      - removed the distribution of pepperflash as requested by adobe

      So looks like only way is extract Pepper Flash from Google Chrome, I test it and update this guide soon.

  25. Great, i’m not blind ;-) Just puzzled because chrome://plugins showed the plugin but there’s no /opt/chromium/PepperFlash and flash isn’t working, of course.

    BTW, The pepperflashplugin from 27.0.1453.110 works in the latest build, i tested it…

  26. thanks!

  27. Hi, great initiative!!

    Will you be updating the repo with new versions of chromium? This would be neccessarry for us to allow the repo in our organization.

    Thanks again!

  28. this guide works great. after following 10+ other instructionals and nothing worked i found this. just installed on centos 6.5 + kde 4 flawlessly. for some reason a couple weeks ago some of the other methods worked fine but now they dont. ???

  29. At first follow this:
    vim /etc/yum.repos.d/CentOS-Base.repo

    if your system is 32-bit,then add:

    [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

    if your system is 64-bit,then add:

    [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

    the second step is:
    sudo yum install google-chrome-stable

    at this step, u will not install the chrome successfully.and u will be told that you can try sth :)
    what u need to do is:
    sudo yum install google-chrome-stable –skip-broken(sth like that,u can get the right command from the prompt)

    after this step
    u can install the chrome rpm files at last.
    my version is: chromium-28.0.1500.95-213514.i686
    May help you!

  30. It’s easy fast and works, many thanks!

  31. Thanks for the guide! Installed on my CentOS 6.5 quick and easy.

  32. I’ve found the best way to install is from the NCSU ITECS repository:

    yum install http://install.linux.ncsu.edu/pub/yum/itecs/public/chromium/rhel6/noarch/chromium-release-1.1-1.noarch.rpm
    yum install chromium

    This will install the latest x86_64 (they only have x86_64, no i686), that is regularly updated and currently at version 37.0.2062.94

    • Hi John,

      Looks excellent, I updated this guide to use NCSU ITECS repository. Thanks.

  33. I can’t install chromium :(

    • Hi itxhelini,

      Could you tell a bit more about your problem?

  34. Thanks, finally have chromium and back in business.
    Works like a charm, one of the things I like about RHEL in general.

  35. Hi guys, so early I’ll not move to Centos 7, I’m using nscu repo that is working flawlessly, but I’m am brazilian and can’t accent characteres anymore since version 38, something with input method. Anyone with the same problem? I have a Fedora 20 notebook that is working fine.

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>