Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to confirm RedHat Enterprise Linux version? [closed]

Tags:

linux

redhat

I am a bit confused by the fact that although I installed RHEL 5.1 from DVD (RedHat/5.1.x86_64), when I issue command:

cat /etc/redhat-release 

I got:

Red Hat Enterprise Linux Server release 5.5 (Tikanga) 

What does this mean? is this to be the release version or kernel version? Is there another way to confirm the real version of RHEL?

I am asking this question because there will be certain applications that would depend on this.

Many thanks in advance.

like image 954
Michael Mao Avatar asked Nov 10 '10 00:11

Michael Mao


People also ask

What is the latest version of Redhat Enterprise Linux?

Red Hat Enterprise Linux 8 was officially released on 2019-05-07.

Is RHEL closed source?

Is Red Hat Enterprise Linux Open Source? Red Hat Enterprise Linux is built from open source components. The kernel itself and the supporting software are all open source.


2 Answers

Avoid /etc/*release* files and run this command instead, it is far more reliable and gives more details:

rpm -qia '*release*' 
like image 130
MarcH Avatar answered Sep 20 '22 07:09

MarcH


I assume that you've run yum upgrade. That will in general update you to the newest minor release.

Your main resources for determining the version are /etc/redhat_release and lsb_release -a

like image 42
Bill Lynch Avatar answered Sep 19 '22 07:09

Bill Lynch