Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm new to RHEL. Trying to install software this morning and running into road blocks. Is it required to have a subscription to download packages via yum on RHEL?

I'm coming across different sources on the net, some make it sound like yes, you need a subscription, others making it sound like no, a subscription is only required for support.

In either case I'm stuck unable to install software ATM, because the machines I'm on don't have the subscription registered. Is there a way to install RHEL software without registering a subscription? If so, how?

share|improve this question

2 Answers 2

up vote 12 down vote accepted

Yes, you have to have an active RHEL subscription to download packages from RHEL's repositories. 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.

Red Hat states, in relevant part:

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:

  • The latest certified software versions.
  • Security errata or bug fixes.

And further:

Entering a Red Hat Enterprise Linux 5 subscription number lets the installer:

  • Access the full set of supported packages included with the subscription at install time.

  • Automatically register the system to all Red Hat Network (RHN) channels included with the subscription at install time.

Many other examples can be found...


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 only way to install base packages without a subscription is to get them off the installation media.


If you're unable or unwilling to purchase a Red Hat subscription, consider migrating to CentOS to avoid the problem.

share|improve this answer
    
Thanks Michael. One of the administrators is telling me "You don’t need a subscription to install normal packages." Any idea what that means, or if it's inaccurate? I'm just thinking there may be alternate repositories I can hit for things like ruby, but unsure what they would be. –  quickshiftin Sep 9 '13 at 18:56
2  
If you don't have a subscription, you can only install packages from the installation DVD, and you have to do so manually. –  Michael Hampton Sep 9 '13 at 18:57
2  
You can install RPMs manually which is madness. Just use CentOS and stop listening to that administrator. –  HTTP500 Sep 9 '13 at 18:58
    
@HTTP500 This is the sense I got, and some allusions from co-workers, about installing RPMs. I will likely bring this up w/ my manager, because I don't see the point of using RHEL without dependency management, lol! –  quickshiftin Sep 9 '13 at 19:11
    
Indeed. The wasted time would cost a lot more than the subscription! –  Michael Hampton Sep 9 '13 at 19:14

Just make a repo package yourself and keep it on a removable media.

whenever and wherever you need you can use. You can get the packages from the DVD and no need to go and install every RPM you need.

share|improve this answer
1  
This isn't a full answer to the question. Looks rather like "Works For Me" post. –  kworr Jul 29 at 12:14
    
while it is not the whole answer, a recent meta article (meta.serverfault.com/questions/6440/…) showed it is ok to only answer parts of the question. Additionally the answer is in my opinion valid, but just lacking detail. –  Dennis Nolte Jul 29 at 12:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.