3

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?

...

5

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.

  • 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
4

Yes, the version numbers correlate between RHEL and CentOS.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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