Total Pageviews

Monday 8 October 2012

多个Linux发行版的Google源添加

具体方法在这里,点击进入-http://www.google.com/linuxrepositories/index.html

添加源

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free main

然后运行

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

Fedora
添加/etc/yum.repos.d/google.repo

[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

64位机型添加

[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Red Hat

wget https://dl-ssl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub

现在你可以安装google的各种软件了,如

sudo apt-get install google-chrome-unstable
sudo apt-get install picasa