Linux

什麼是 red hat linux 的公共 yum 儲存庫

  • January 3, 2017

我有一台red hat linux機器,當我嘗試安裝任何軟體時,它說我的系統沒有註冊我應該如何安裝

[root@JMNGD1BLT230V01 yum.repos.d]# yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package gettext-devel available.
No package openssl-devel available.
No package perl-CPAN available.
No package perl-devel available.
Nothing to do

以下是我的 repolist

[root@JMNGD1BLT230V01 yum.repos.d]# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id             repo name                                             status
rsyslog-v7-stable   Adiscon Rsyslog v7-stable for CentOS-6Server-x86_64     896
rsyslog-v8-stable   Adiscon Rsyslog v8-stable for CentOS-6Server-x86_64   1,071
repolist: 1,967

Red Hat 需要訂閱才能使用他們的儲存庫,這意味著您需要加入他們的開發者計劃或付費訂閱。

如果您實際上並不特別需要 Red Hat(或服務契約),您可以嘗試 CentOS。它與 RHEL 幾乎相同,只是更新速度稍慢、一些不同的預設配置、沒有 Red Hat 品牌和沒有服務訂閱(意味著它是免費的)。

如果您已經訂閱,請按照 Red Hat 知識庫中列出的步驟操作:https ://access.redhat.com/solutions/253273

引用自:https://serverfault.com/questions/823943