Linux – what are public yum respositories for red hat linux

installationlinuxredhatrhel6

I have a red hat linux machine and when I try to install any software it says my system is not registered how should I install

[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

following are my 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

Best Answer

Red Hat requires a subscription to make use of their repositories, meaning you need to join their developer program or pay for a subscription.

If you don't actually need Red Hat specifically (or a service contract), you might instead try CentOS. It's pretty much the same thing as RHEL except with slightly slower updates, a few different default configurations, no Red Hat branding, and no service subscription (meaning it's free).

If you have a subscription already, follow the steps outlined on Red Hat's knowledgebase: https://access.redhat.com/solutions/253273