Google Linux Software Repositories

现在Google也在Linux中开发了一些东东,比如Google Desktop,Picasa(wine)!一面是从Google官网上抄下来的!嘻,偶觉得E文更直接!

On an APT-based system (Debian, Ubuntu , etc.), you must download the key and then use apt to install it and refresh your package indexes.
For more information on Google’s package signing key, see the Signing Key page.
Run these commands as root:

wget -q -O – | apt-key add – apt-get update

Recent versions of apt-get will automatically attempt to verify packages on download. If an appropriate key is not found or if the package is corrupted, you will get a message like the following:

WARNING: The following packages cannot be authenticated!

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:

# Google software repositorydeb stable non-free

then use apt as usual, e.g.

sudo apt-get update
sudo apt-get install picasa

如果你的不是APT-based system的话,你可以去参考

This entry was posted in Ubuntu and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *