[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

Google Yum 软件库样例

这些样例都缺省为启用的。修改 enabled=0 便可在未经特定启用的情况下停用它们。

/etc/yum.repos.d/google.repo

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

/etc/yum.repos.d/google-chrome.repo

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

/etc/yum.repos.d/google-earth.repo

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

Translation of revision 2


2023-09-11 07:23