[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