LinuxQuestions.org
Register a domain and help support LQ
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 01-27-2005, 04:48 PM   #1
enik256
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
Checking Version


Hello,
I was trying to find out if there was a command line command to tell you what versions of things you have installed.

I'm running Knoppix installed to the hard drive and I was trying to see what versions of KDE, the Linux kernal and Knoppix I was technically running. Since I tried running distr-upgrade, I wanted to see where things were at.

 
Old 01-27-2005, 04:55 PM   #2
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
for kernel version: cat /proc/version
for kde version: iounno
for knoppix version: iounno
 
Old 01-27-2005, 05:04 PM   #3
Cenobite
LQ Newbie
 
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25

Rep: Reputation: 0
Hi enik

Most programs support the -v switch in the command line, for example 'man -v' will print the version of the program 'man' you have installed ('v' stands for 'version').

To print the version of the kernel you're running, just type 'uname -v' although 'uname -a' gives a bit more useful information. Note that these commands must be run in the command line or in a terminal emulator like Konsole or xterm.

To find out what version of KDE you're running, just open any native KDE application (KWrite is a good bet) and click on 'Help' and 'about KDE'.

I'm not too sure about finding out which version of Knoppix you're running... maybe it's actually written on the cd?

Hope this is helpful!
 
Old 01-27-2005, 05:07 PM   #4
Cenobite
LQ Newbie
 
Registered: Dec 2003
Location: South Africa
Distribution: CentOS, Arch
Posts: 25

Rep: Reputation: 0
Oh yes!

As Predator.Hawk mentioned, 'cat /proc/version' would be a better bet than 'uname -a' since it lists a bit more pertinent information including the kernel version, such as the version of GCC.

Thanks P.H
 
Old 01-28-2005, 12:15 PM   #5
enik256
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!

Thanks!

Now I can keep track of things better as I update them. I'll post if I figure out how to check the installed Knoppix version.
 
  


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
checking for GLIB - version >= 2.4.0... no guarriman Fedora 1 07-19-2005 03:53 AM
checking XFree86 version. renwood Linux - Newbie 7 11-25-2004 01:11 AM
XFree86 - checking version Stan the caddy Linux - Newbie 3 09-15-2004 01:50 PM
Checking your kernel version rhraz Linux - Newbie 2 02-27-2004 10:49 PM
Checking the version of a package _maco_ Linux - Newbie 4 02-04-2004 05:37 PM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration