Use Google Linux repositories in Debian
Posted by Admin on July 26th, 2007
First you need to edit /etc/apt/sources.list file
#vi /etc/apt/sources.list
add the following line
# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free
Save and exit the file
you must download the key and then use apt to install it and refresh your package indexes.
Run these commands as root:
#wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
Now you need to update the source list using the following command
#apt-get update
Install google applications now you can see the following command to install google picasa
#apt-get install picasa

August 6th, 2007 at 2:13 pm
Seems not to work or not more to work!
sudo wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
Password:
gpg: no writable keyring found: eof
gpg: error reading `-’: general error
gpg: import from `-’ failed: general error
:~$ wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
gpg: can’t open `’: No such file or directory
August 6th, 2007 at 3:25 pm
Yep, same issue here.
August 7th, 2007 at 5:54 pm
Go to https://dl-ssl.google.com/linux/linux_signing_key.pub and download or copy to your computer and after import.
If the English is not good don’t worry i am Portuguese, but i hope you understand.
August 8th, 2007 at 9:50 am
you have to add the sudo prefix to the post-pipe command.
That is, do:
wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
please let me know if it works…
August 15th, 2007 at 7:58 am
hronir> Indeed, that worked. Thanks
March 28th, 2009 at 9:14 pm
Confirmed, the instructions from Hronir work perfectly. Somebody please update the article. Blessings!
May 10th, 2010 at 12:20 pm
@Hronir it works. thanks