Install Google Chrome in Fedora 15 (Lovelock)

June 3, 2011

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***


Configuring Adobe Flash Player for Chrome in Fedora 15 (Lovelock)

June 2, 2011

Update 14 Nov 2011

Adobe has release a 64-bit version of Flash Player Plugins. The installation is straight forward and simple. Most important, there is no additional tweaking required for Google Chrome. To install the latest Adobe Flash Player check out this post Install Adobe Flash Player (64-bit) on Fedora 16

**********************************************************************************************************************

After installing Adobe Flash Player in Fedora 15, you’ll notice that you can watch YouTube video using Firefox but it wouldn’t work on Chrome. The following is the instruction for configuring Adobe Flash Player to work with Chrome browser.

  • Install Adobe Flash Player if you haven’t done so. You can follow the instruction from Installing Adobe Flash Player in Fedora 15 (Lovelock)
  • Open Firefox browser and test the player at least ONCE from YouTube or Adobe web site.
  • Create a folder using the command:
mkdir /opt/google/chrome/plugins
  • The next step is to configure a link for the Chrome browser. For 64-bit system, use the command (single line):
ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so
/opt/google/chrome/plugins/nswrapper_32_64.libflashplayer.so
  • For 32-bit system use the following command (single line):
ln -s /usr/lib/mozilla/plugins/libflashplayer.so 
/opt/google/chrome/plugins/libflashplayer.so
  • You can download a little automation script here. This script work on both 32-bit and 64-bit system.
  • You also need 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***