分享

google apt source for debian

 zhyiwww 2009-04-29

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 - https://dl-ssl.google.com/linux/linux_signing_key.pub | 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!
packagename

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 repository
deb http://dl.google.com/linux/deb/ stable non-free
then use apt as usual, e.g.
sudo apt-get update
sudo apt-get install picasa

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多