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... |
Which version? There are multiple versions (every piece of software usually has it's own..)
Code:
uname -a |
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. |
I want in the format of SUSE 9.1 or SLES 9 with SP1 like that...
Is there someway to get that.:scratch: |
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. |
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 |
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.. |
According to this page:
http://www.novell.com/products/linux...rnel-syms.html It appears to be part of the SLES 9 release. Cool |
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... |
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 |
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 |
Might be easier to reinstall the OS with the gcc option your trying to load. That has worked for me at times.
|
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? |
Quote:
|
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. |