Tuesday, November 24, 2009

Chromium on Fedora 12

Update: Google now has an official repo for Linux that work for Fedora 12 and 13

20100917 - Updated the contents of this post to replace 'beta' package references to 'stable'.

Create the Google yum repository configuration file (replace x86_64 with i386 in the repo file to use the 32bit Google repository)
$ sudo vim /etc/yum.repos.d/google-chrome.repo

name=google - x86_64

Then install Google Chrome
$ sudo yum install google-chrome-stable

Package                                    Arch                          Version                                      Repository   
google-chrome-stable                       x86_64                        5.0.307.11-39572                             google-chrome
Installing for dependencies:
cvs                                        x86_64                        1.11.23-8.fc12                               fedora       
foomatic                                   x86_64                        4.0.3-8.fc12                                 updates      
foomatic-db                                noarch                        4.0-8.20091126.fc12                          updates      
gettext                                    x86_64                        0.17-16.fc12                                 updates      
libmodplug                                 x86_64                        1:0.8.7-2.fc12                               fedora       
libmpcdec                                  x86_64                        1.2.6-6.fc12                                 fedora       
patch                                      x86_64                        2.6.1-1.fc12                                 updates      
pax                                        x86_64                        3.4-10.fc12                                  fedora       
phonon                                     x86_64                        4.3.80-5.fc12                                updates      
phonon-backend-xine                        x86_64                        4.3.80-5.fc12                                updates      
qt                                         x86_64                        1:4.6.2-3.fc12                               updates      
qt-sqlite                                  x86_64                        1:4.6.2-3.fc12                               updates      
qt-x11                                     x86_64                        1:4.6.2-3.fc12                               updates      
qt3                                        x86_64                        3.3.8b-28.fc12                               fedora       
redhat-lsb                                 x86_64                        3.2-7.fc12                                   fedora       
xine-lib                                   x86_64                                            updates

Original content:
Want to run Google Chrome web browser on your Fedora workstation? Not exactly Chrome, but you can install and run the open source browser (devoid of Google branding), Chromium, of which Google Chrome is based.

Chromium will install on both 32bit and 64bit systems.

First, create a new yum repository configuration file (/etc/yum.repos.d/chromium.repo):
name=Chromium Test Packages
Next install chromium, 2 packages will come from the chromium repo, chromium and v8:
$ sudo yum install chromium

Dependencies Resolved

Package      Arch      Version                            Repository     Size
chromium    x86_64   chromium      9.7 M
Installing for dependencies:
minizip     x86_64  1.2.3-23.fc12                         fedora         24 k
nss-mdns    x86_64  0.10-8.fc12                           fedora         21 k
v8          x86_64  2.0.0-1.20091118svn3334.fc12          chromium      810 k

Once installed, you'll find Chromium on the Applications menu under Internet.

v8 is Google's open source JavaScript engine.


Anonymous said...

Hm, "gpgcheck=0", not too optimistic...

FlakRat said...

Good point,

Google Chrome is now available via an official repo (which GPG signed packages :-)

$ cat /etc/yum.repos.d/google-chrome.repo


Indicator Veritatis said...

O-o-o-o K-k-k-k, so why do I get "No package google-chrome.repo available" from yum when I follow these directions? And why is it 'x86_64'? That makes it sound like a 64 bit version only. But those of us running Netbooks are still on 32 bit processors.

FlakRat said...


The following are more detailed instructions for installing google's public key, setting up the repository definition and finally installing 'google-chrome-stable'

First, download and install the public key for the Google RPMs (this link has the official instructions, but I'll include them here in case the site gets altered):

Run the following commands as root (or using sudo if you've properly set up /etc/sudoers)

wget https://dl-ssl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub

Next, create the repository definition file (I'll use the 32bit version in this example, use your favorite text editor, I'm using vi):

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

name=Google - i386

Save and exit the editor

Now simply run the yum command to install chrome

yum install google-chrome-stable

Once that completes, google chrome should be installed and ready to use :-)

An alternate method is to download and install the RPM directly from

Installing this RPM directly may require additional packages. This page also provides Debian / Ubuntu packages.

Thanks for the comments.