LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-13-2008, 04:28 PM   #1
ddclutch
Member
 
Registered: Dec 2008
Location: UK
Distribution: Suse Enterprise 10
Posts: 58

Rep: Reputation: Disabled
How do I identify what version release of Linux I have installed?


From an operating system, how do I identify the release number of the Linux version I am running? 2-6-2X-XX ?

It seems too basic a question for anyone else to have dared ask!!
 
Old 12-13-2008, 04:31 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
To obtain the kernel version actually running:
Code:
uname -a
To get the release of the Linux OS
Code:
lsb_release -a
or eventually check for files called release or version under the /etc/directory:
Code:
ls /etc/*release* /etc/*version*
on OpenSuSE I have
Code:
$ cat /etc/SuSE-release
openSUSE 10.3 (i586)
VERSION = 10.3

Last edited by colucix; 12-13-2008 at 04:33 PM.
 
Old 12-13-2008, 04:31 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
uname -a
 
Old 12-13-2008, 04:41 PM   #4
ddclutch
Member
 
Registered: Dec 2008
Location: UK
Distribution: Suse Enterprise 10
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thanks both, that was quick!

uname -a returned:
2.6.16.54-0.2.5,
followed by an installation date last March (new netbook just 3 weeks old!)
 
Old 12-13-2008, 07:32 PM   #5
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Wink One more

cat /etc/issue
Will fetch u except distribution name
 
Old 12-14-2008, 03:48 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by ddclutch View Post
followed by an installation date last March (new netbook just 3 weeks old!)
It is not an installation date, it is part of the kernel version and stats for the release date.
 
Old 12-14-2008, 04:15 AM   #7
ddclutch
Member
 
Registered: Dec 2008
Location: UK
Distribution: Suse Enterprise 10
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colucix View Post
It is not an installation date, it is part of the kernel version and stats for the release date.
Thanks, that makes more sense.

I am a bit puzzled by the version number of
2.6.16.54-0.2.5

when other references I have found seem to say that current linux versions are around 2.6.24 or 2.6.25.
My numbering format seems different, or perhaps based on a much earlier release (2.6.16)?
 
Old 12-14-2008, 05:43 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
The latest stable kernel version is 2.6.27. Indeed you're running a bit older version 2.6.16. Regarding the other numbers in your kernel version, take in mind the the first four are the actual version (kernel version 2, major release 6, minor release 16, bux fix and security patches 54). The other numbers are introduced by the developer of your Linux OS (SuSE) and I guess they serve for internal reference.

For example on my OpenSuSE 10.3 I have:
Code:
$ uname -r
2.6.22.9-0.4-default
from which I simply state that my running kernel is 2.6.22 or even 2.6.22.9.
 
  


Reply


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
How to identify Slackware version by examining an installed system? beyondPCs Slackware 1 09-15-2008 08:38 PM
LXer: Novell to release new Suse Linux version, first since 2004 LXer Syndicated Linux News 0 07-17-2006 04:03 PM
what last version/release of Red Hat enterprise Linux AS? xcore_on Linux - Newbie 1 05-11-2006 05:28 AM
LXer: Genasys Announces the Release of Version 9 of their Linux GIS ... LXer Syndicated Linux News 0 05-06-2006 04:54 AM
Red Hat Linux Enterprise release 3 kernel version Minnie Nguyen Linux - Enterprise 1 01-29-2006 03:28 PM


All times are GMT -5. The time now is 02:07 AM.

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