Chromium on CentOS-6
Replace Google Chrome with Chromium
I replaced Google Chrome with Chromium on CentOS. This proceedure uses the yum packaging system. It is based on work by Johnny Hughes, package maintainer for CentOS. He explains how to install Chromium in a reply to a blog post, No more support for chrome/chromium on rhel6.
Quit Google Chrome
1. Edit yum repository files.
/etc/yum.repos.d/google-chrome.repo moved to
[google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=0 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
[chromium-el6] name=CentOS-$releasever - Chromium EL6 baseurl=http://people.centos.org/hughesjr/chromium/6/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6
2. Replace Google Chrome with Chromium:
# yum remove google-chrome # yum install chromium
3. Run scripts to setup extras (see Johnny's blog post). Run as root:
# sh ./chrome_libpdf_copy.sh # sh ./chrome_pepperflash_copy.sh
4. As a user run chromium. Setup accounts, desktop, etc.
Warning! I logged into my Google account and used my Google Chrome settings, which worked fine. They remained remained in the system after I replaced Google Chrome with Chromium. Several of my computers use Google Chrome. This might not work for users with one CentOS system and no other Google Chrome installations. In that case first backup the Google Chrome settings (~/.config/google-chrome/Default/ ).
In addition to the steps for yum package replacement, I set Chromium as the preferred Web browser and made a launcer icon for the Gnome2 (Cinnamon) panel. These files were generated:
<?xml version="1.0"?> <gconf> <entry name="needs_term" mtime="1331463315" type="bool" value="false"/> <entry name="exec" mtime="1371964572" type="string"> <stringvalue>/opt/chromium/chrome-wrapper</stringvalue> </entry> <entry name="nremote" mtime="1331463315" type="bool" value="true"/> </gconf>
[Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Chromium GenericName=Web Browser Exec=/opt/chromium/chrome-wrapper %U Terminal=false Icon=/opt/chromium/product_logo_48.png Type=Application Categories=Application;Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml_xml; X-Panel-Monitor=true NoDisplay=true
Why Replace Google Chrome on CentOS?
Google Chrome is a branded version of Chromium. It runs consistently across many platforms, enabling users to easily maintain bookmarks, passwords, etc. in a shared database on Google servers. I have been using Google Chrome as my default browser on an Android tablet, iPhone, MacOS X, and CentOS-6.
Beginning with version 26 Google Chrome is no longer supported on CentOS. A list of supported Linux operating systems as of Google Chrome version 28 is shown on Stable Channel Update. I prefer CentOS to other Linux distributions. I also like to have common bookmarks and other data, so I decided to replace Google Chrome with Chromium.