Chromium on CentOS

Greg Peterson > Code

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.

Disable /etc/yum.repos.d/google-chrome.repo (moved to google-chrome.repo-OLD):


Create /etc/yum.repos.d/chromium-el6.repo:

    name=CentOS-$releasever - Chromium EL6

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 ./
    # 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 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 launcher icon for the Gnome panel. These files were generated:

File: ~/.gconf/desktop/gnome/applications/browser/%gconf.xml


File: ~/.local/share/applications/preferred-web-browser.desktop

    [Desktop Entry]
    GenericName=Web Browser
    Exec=/opt/chromium/chrome-wrapper %U

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 ChromeStable28. 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. (END 2013-06-23)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s