Saturday 11 October 2008

Enabling Google Repositories

Enabling Google's Linux repositories is a great way of keeping up-to-date with the latest release of Google Linux applications. Its quick and easy to enable these repositories, so I highly recommend doing it.

First things first, you will need to edit the /etc/apt/sources.list file:
sudo gedit /etc/apt/sources.list

and add the following line at the end of the file:
deb http://dl.google.com/linux/deb/ stable non-free


Now download the key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
and finialy update:
sudo apt-get update


You're good to go!

3 comments:

  1. didn't work man... I have Intrepid any tips?

    ReplyDelete
  2. I've just installed a fresh copy of Ubuntu onto my laptop, and it has gave me an error too.

    I have just checked on the Google page where it has a step-by-step on how to do this, but it is exactly the same as the steps I have above.

    ... Maybe it is a problem with Google?
    I shall try again tomorrow morning.

    Jam

    ReplyDelete
  3. I am running Jaunty Jackalope and have no problem after going to this page:

    http://www.google.com/linuxrepositories/aboutkey.html

    Clicked the link for; https://dl-ssl.google.com/linux/linux_signing_key.pub and saved it as a txt file. I then went to Software sources and manually imported the key. Then sudo apt-get update and all is good.

    I see this is an old post but this might help someone.

    ReplyDelete