Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to use a Red Hat Enterprise Linux RPM software package on CentOS 5.6, but I don't know which version of RHEL works with CentOS 5.6.

RHEL 4 = CentOS 4?

RHEL 5 = CentOS 5?

...

share|improve this question

3 Answers 3

up vote 5 down vote accepted

The version numbers correlate between RHEL and CentOS (as Ben Preston already answered). Moreover, due to RHEL philosophy, the ABI should stay the same across all minor number ( .x) versions, so the package compiled for 5.4 should most likely work for 5.5 and 5.6 as well.

share|improve this answer
    
It doesn't make sense to install RHEL packages on CentOS, just install native ones. Unless you are talking of third-party packages. –  vonbrand Jan 26 '13 at 3:35

Yes, the version numbers correlate between RHEL and CentOS.

share|improve this answer

CentOS uses the source packages of RHEL to create the CentOS OS. So OS versions are the same in both the cases. CentOS is the carbon copy version of RHEL with better support for drivers and packages which RHEL cannot support due to its policies. You get a lot of packages from EPEL for CentOS.

You can use a rpm package for CentOS, keep in mind your architecture and your version.

share|improve this answer

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.