My Oracle Support Banner

The 'enterprise-release' and 'redhat-release' Files for OL (Oracle Linux) 5 (Doc ID 780270.1)

Last updated on MAY 26, 2021

Applies to:

Linux OS - Version Oracle Linux 5.3 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64
Linux Kernel - Version: 5.3
Oracle Linux 5 Update 3 and later
Architectures: x86 and x86-64
***Checked for relevance on 29-Jul-2011***
***Checked for relevance on 11-Mar-2013***


Oracle Linux (OL) provides the package enterprise-release instead of the redhat-release package delivered by Red Hat Enterprise Linux (RHEL).  (See also <Note 764403.1> Enterprise Linux 5 Update 3 x86 and x86_64 Release Notes).

The file names on the installation media are as follows:

The following files are part of the enterprise-release package:

The /etc/enterprise-release file holds the OL release information. e.g. with OL5 Update 1:


If you have a script or application that checks the /etc/redhat-release on the system, make sure that it is revised to be able to handle the change described in this announcement. See <Note 207296.1> for the proper way to check release information in OL.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.