Skip to content

Adding the Google Linux Software Repositories to Ubuntu

Adding the Google Linux Software Repositories to Ubuntu

Get key

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -

apt-get update

Add the following rule to e.g. /etc/apt/sources.list, or if your distro has the /etc/apt/sources.list.d/ directory, add it to a file called google.list in that directory:

deb http://dl.google.com/linux/deb/ stable non-free main

then use apt

sudo apt-get update
sudo apt-get install picasa

ubuntu@ubuntu-desktop:~$ apt-key
Usage: apt-key [command] [arguments]

Manage apt’s list of trusted keys


apt-key add - add the key contained in ('-' for stdin)
apt-key del - remove the key
apt-key export - output the key
apt-key exportall - output all trusted keys
apt-key update - update keys using the keyring package
apt-key net-update - update keys using the network
apt-key list - list keys
apt-key finger - list fingerprints
apt-key adv - pass advanced options to gpg (download key)

In Detail

ubuntu@ubuntu-desktop:~$ wget https://dl-ssl.google.com/linux/linux_signing_key.pub
--2009-11-14 07:57:04-- https://dl-ssl.google.com/linux/linux_signing_key.pub
Connecting to 16.158.235.10:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1745 (1.7K) [text/plain]
Saving to: `linux_signing_key.pub'
100%[=========================>] 1,745 846B/s in 2.1s
2009-11-14 07:57:08 (846 B/s) - `linux_signing_key.pub' saved [1745/1745]

ubuntu@ubuntu-desktop:~$ sudo apt-key add linux_signing_key.pub
[sudo] password for ubuntu:
OK

Search

ubuntu@ubuntu-desktop:~$ apt-cache search google-chrome
google-chrome-unstable - The web browser from Google

Install


ubuntu@ubuntu-desktop:~$ sudo apt-get install google-chrome-unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
google-chrome-unstable
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 12.8MB of archives.
After this operation, 50.4MB of additional disk space will be used.
Get:1 http://dl.google.com stable/main google-chrome-unstable 4.0.245.1-r31796 [12.8MB]

Post a Comment

You must be logged in to post a comment.