Friday, April 3, 2009

How to set the Google repository for gnu/Linux.

Google's Linux software repositories make it easier to download and stay up-to-date with current releases of Google Linux applications.First, we have to use rpm to install the key. Here are the steps to do!

Command line configuration for RPM.

On an RPM-based system (Fedora, SUSE, Mandriva, RHEL, etc.), download the key and then use rpm to install it.

Run these commands as root:

1) wget
2) rpm --import

You can verify the key installation by running:

3) rpm -qi gpg-pubkey-7fac5991-4615767f

To manually verify an RPM package, you can run the command:

4) rpm --checksig -v packagename.rpm

Command line configuration for YUM

As root, create a file 'google.repo' in /etc/yum.repos.d/ and add the following lines to it.

name=Google - i386

If your .repo file contains gpgcheck=1, signatures will automatically be verified during installation.

If you are running a 64-bit distribution, you should also add the x86_64 repository, which will provide you with native 64-bit versions of some of google's software:

name=Google - x86_64

You can then use yum as usual, e.g.

yum install picasa
yum install desktop-backgrounds-basic

No comments:

Post a Comment