Install Google Chrome in Fedora 15 (Lovelock)

Update: 12 November 2011

It seems that Google has restored the repository. You can still follow the instructions below however, it is recommended to just navigate to the chrome site and install from there.

Check out my new post Install Google Chrome in Fedora 16 (Verne) 

Update: 28 September 2011

Google repository does not work anymore because Google has discontinued Google Pack. You can visit the main site for further information.

To install Chrome on Fedora, you just need to navigate to Chrome website and click install. The procedure is similar to installing Chrome in Windows.

Please do not follow the instructions below!

================================================================

While you could download the rpm file from Chrome website and install Chrome, a better method is to download Chrome from Google repository so that you could receive any new updates.

Configure Google Repository

Create a file called google.repo with the 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

You can also download a copy from here. Place the file under /etc/yum.repos.d

Installing Google Chrome

Run yum install using the command:

$sudo yum install google-chrome-stable

If you would like to install the beta or unstable version of Chrome use the following command:

$sudo yum install google-chrome-beta
$sudo yum install google-chrome-unstable

Automation

You could also write a script file to automate the installation process. This script download the repository file that I’ve prepared and move it to the yum repository folder.  You need to hash (#) out those version that you DO NOT want to install. You could only install one version of Chrome.

#! /bin/bash
#Add repo file from Google
wget http://dl.dropbox.com/u/30876345/repo/google.repo
mv google.repo /etc/yum.repos.d
#Install Google Chrome
yum install -y google-chrome-stable
#yum install -y google-chrome-beta
#yum install -y google-chrome-unstable

You could download a copy of the script here. Note: remember to give execution permission to the script using the command $sudo chmod +x <script_name>. To run the script use the command:

$sudo ./<script_name>

***End***

Advertisements

9 Responses to Install Google Chrome in Fedora 15 (Lovelock)

  1. Beth Snaper says:

    Actually Google Chrome is an open source web browser developed by Google. The name is derived from the graphical user interface frame, or “chrome”, of web browsers.This is the most easiest and reliable software for browsing

  2. I think this is a good website.

  3. gabriel says:

    Thanks alot for this tutorial. Great help!

  4. Joe says:

    Doesn’t work for me. The URL isn’t valid:
    http://dl.google.com/linux/rpm/stable/x86_64

    Maybe it worked before… oh well.

    • technozeal says:

      You are right, it worked before. However, Google has discontinued Google Pack. The baseURL dl.google.com/linux/rpm/stable/x86_64 does not work anymore.
      you can check out this site Google Pack for further information.

      To install Google Chrome from Linux, you just need to navigate to the Chrome Web site.

  5. kazou says:

    Thank you for the information. We appreciate it !

  6. Anonymous says:

    “To install Chrome on Fedora, you just need to navigate to Chrome website and click install. The procedure is similar to installing Chrome in Windows.”

    not working for me. its saying edit a file called.

    You need to change the label on ‘/usr/lib/chromium-browser/chromium-browser’
    # semanage fcontext -a -t textrel_shlib_t ‘/usr/lib/chromium-browser/chromium-browser’
    # restorecon -v ‘/usr/lib/chromium-browser/chromium-browser’

    but im getting a binary file and not able to do the 2nd and 3rd command.

    • technozeal says:

      After I downloaded the rpm file, I go to Firefox download window and click “open”. The installation complete without a problem.

%d bloggers like this: