什么是 red hat linux 的公共 yum 存储库

raj*_*aju 2 linux installation redhat rhel6

我有一台 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
Run Code Online (Sandbox Code Playgroud)

以下是我的 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
Run Code Online (Sandbox Code Playgroud)

小智 6

Red Hat 需要订阅才能使用他们的存储库,这意味着您需要加入他们的开发人员计划或支付订阅费用。

如果您实际上并不特别需要 Red Hat(或服务合同),您可以尝试使用 CentOS。它与 RHEL 几乎相同,只是更新速度稍慢,一些不同的默认配置,没有红帽品牌,没有服务订阅(意味着它是免费的)。

如果您已经订阅,请按照 Red Hat 知识库中列出的步骤操作:https : //access.redhat.com/solutions/253273