Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2008, 10:33 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Question making sense of Version numbers

Dear all

On my system a cat /proc version yields

Linux version 2.6.9-42.0.3.ELsmp ( (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Mon Sep 25 17:28:02 EDT 2006

while a lsb_release -a yeilds

LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseES
Description: Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
Release: 4
Codename: NahantUpdate4


Q1. Can you explain these
1. Linux version 2.6.9-42.0.3.ELsmp
3. gcc version 3.4.6 20060404
4. Red Hat 3.4.6-3

Q2. How do I know whether I have a Red Hat Enterprise Server or Advanced Server? Does the ES in the lsb_release indicate Enterprise Server?

Q3. lsb_release says RedHat 4 while cat /proc/version gave me a Red Hat 3.4.6-3 ---> do these both indicate Red Hat 4.0?

Q4. Is there a command to view the patch level on Linux?


Last edited by asimmunshi; 01-30-2008 at 10:41 AM.
Old 01-30-2008, 11:17 AM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

1. The kernel version is 2.6.9 Everything after that is added by RedHat to track their own package level
2. is the username and host used to build the kernel package. Not something for end-users to worry about, but could be useful to RedHat if there's a problem with the package
3. The GCC compiler version given is the version of GCC used by RedHat to compile the kernel.
4. See 1.3

2) Does the ES in the lsb_release indicate Enterprise Server? Very likely indeed. I'd have a look in /etc/redhat-release as well.

3) The /proc/version stuff after the kernel version is just the build machine details (see 1.3), so you can ignore it.

4) 'rpm -qa' will show the versions of all the packages on the system.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making sense of sync() kornelix Programming 1 01-18-2008 10:49 AM
making sense of /proc for 2.4.x kernel? thanhvn Linux - General 2 11-16-2005 07:19 PM
Windows Traceroute isnt making much sense jaz General 1 05-27-2005 01:35 PM
making a graph from numbers ungua Linux - Software 4 03-03-2005 12:04 AM
C making an int from a string of numbers ocularbob Programming 11 02-25-2004 02:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration