LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   checking version of OS (https://www.linuxquestions.org/questions/linux-software-2/checking-version-of-os-469274/)

Sailesh 07-31-2006 12:07 AM

checking version of OS
 
How to check the exact version of OS I am using...
What is the command. I want the configuration and all..

Ohho.. one more silly question from me.. I am a newbie, so plz bare with me for sometime...

b0uncer 07-31-2006 12:46 AM

Which version? There are multiple versions (every piece of software usually has it's own..)

Code:

uname -a
gives you information about your kernel etc..for a start.

JBailey742 07-31-2006 12:52 AM

I think he'd like to know where it says what version he's running under; like with Winxp it's control panel, system I believe.

What linux system do you have? suse, red hat, mandriva, etc?
I'm sort of new myself, so I'm not sure where you can find this. It may (or may not) depend on your OS as to where you need to go to find this.

Sailesh 07-31-2006 12:54 AM

I want in the format of SUSE 9.1 or SLES 9 with SP1 like that...
Is there someway to get that.:scratch:

raskin 07-31-2006 12:57 AM

uname -a
gives kernel version. Looks like you didn't compile kernel yourself, so if you post the output, we'll tell you name of your distribution. http://linuxmafia.com/faq/Admin/release-files.html - look up, if you find any of the mentioned files, you'll get version info inside.

MasterC 07-31-2006 12:58 AM

From what I've gathered, it's not completely universal. If you are looking for what release of a particular distro you are running, on varying distros you have:
/etc/version
/proc/version
uname -a

Amongst others. I don't know if it's that important for the majority of distros to provide this information. Mainly because if you've recently done a system update and have the newest packages available, then you could be running a release from 2 releases ago and be as up to date as someone running a current release.

I think where you see the need to know which version you are running are with things like Fedora where they stop providing free support once you reach (I think) 3 versions old; assuming you don't do a dist upgrade.

HTH

Cool

Sailesh 07-31-2006 01:04 AM

I used /proc/version...

It returned the following output

Linux version 2.6.5-7.139-default (geeko@buildhost) (gcc version 3.3.3 (Suse Linux)) #1 Fri Jan 14 15:41:33 UTC 2005

I know its Suse Linux, but the complete info is missing..

MasterC 07-31-2006 01:10 AM

According to this page:
http://www.novell.com/products/linux...rnel-syms.html

It appears to be part of the SLES 9 release.

Cool

Sailesh 07-31-2006 01:32 AM

Then I tried to install gcc with SLES 9 CDs...
but it is asking me to insert Open Enterprise Server CD...

I tried that one also, but with the same dialogue...
Thats why I want to know what version exactly I needed to fix it...

MasterC 07-31-2006 01:35 AM

Well in your /proc/version it calls itself SuSE, and the kernel is mentioned on the SLES 9 product page. Maybe the issue is *which* CD you are placing in the drive, not which *version*.

Cool

Sailesh 07-31-2006 01:55 AM

I went to help center of SUSE and I read SP1 release somewhere...

So I brought both OES 9 with SP1 and SLES9 with SP1 CDs.. Both failed. The error message is still

Insert :
Open Enterprise Server CD1

May be its problem with CD I suppose, but first I want to know whether I am inserting the correct CDs

DotHQ 07-31-2006 07:47 AM

Might be easier to reinstall the OS with the gcc option your trying to load. That has worked for me at times.

b0uncer 07-31-2006 08:17 AM

That draws you back to Windows age. There should be no need to reinstall an operating system, unless it's very badly damaged or it's Windows.

Do you need to mount the CD manually, or should it do it automatically?

DotHQ 07-31-2006 08:35 AM

Quote:

Originally Posted by b0uncer
That draws you back to Windows age. There should be no need to reinstall an operating system, unless it's very badly damaged or it's Windows.

Guilty as charged. But, there comes a point when I've fought with something long enough, I will bite the bullet and do a reinstall to fix an issue.

raskin 07-31-2006 08:42 AM

Well, better mount CD, find gcc rpm, and manually install it with rpm -ivh.


All times are GMT -5. The time now is 03:01 PM.