Using the CentOS repo is preferable, however, since it will likely contain all the dependencies your packages will need. Similar steps will need to be followed for other third-party repos. # save centos.repo and (optional) run this to reset the cache # change the 6 in baseurl to your RHEL release # add the following contents to centos.repo Briefly: # find out the release (version) of your RHEL Michael Cutler wrote a guide for installing CentOS packages on RHEL. As such, most of its packages are compatible with RHEL. CentOS is in large part a derivative of RHEL. If you're unable or unwilling to purchase a Red Hat subscription, consider migrating to CentOS to avoid the problem.Īn alternative is to add the CentOS repository to your yum configs.
The only way to install base packages without a subscription is to get them off the installation media. You can still use third party repositories however, they often depend on packages in the base repositories provided by RHEL, and thus many packages will fail to install if those dependencies can't be satisfied.
The latest certified software versions.Įntering a Red Hat Enterprise Linux 5 subscription number lets the installer:Īccess the full set of supported packages included with the subscription at install time.Īutomatically register the system to all Red Hat Network (RHN) channels included with the subscription at install time.
If you choose to let all your subscriptions expire and have no other active subscriptions in your organization, you retain the right to use the software, but your entire environment will no longer receive any of the subscription benefits, including: If your machine has never been subscribed, or the subscription is expired, you will not be able to use any of the repositories provided by RHEL. Yes, you have to have an active RHEL subscription to download packages from RHEL's repositories.