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?


3 Answers 3


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.

  • 1
    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, 2013 at 3:35

Yes, the version numbers correlate between RHEL and CentOS.


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.

  • CentOS ships the same stuff as RHEL. There are extraofficial repositorios with stuff that RHEL doesn't ship, mostly for stability/reduncancy reasons (EPEL) and probably others that carry stuff Red Hat can't ship legally (or just don't want to run the risk for little gain) due to licensing concerns (in USA, mostly).
    – vonbrand
    Feb 19, 2020 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .