Download your favorite Linux distribution at LQ ISO.
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 08-02-2004, 02:37 PM   #1
Registered: Jun 2004
Location: Chicago, IL USA
Distribution: Mandrake 10
Posts: 103

Rep: Reputation: 15
Question Command to find software version?

Hi all -

Is there a command I can use to figure out what version of software I have?

For example - let's say I want to know which version of gcc is on my machine. Or which version of KDE. Or which version of (fill in the blank).

I know with many apps you can look in the help menu to find version info, but what about non-gui apps? I'm thinking there must be some command that could tell me this

Old 08-02-2004, 02:48 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Most GNU apps have a --version switch enabled that report their version, so you can type "gcc --version" for instance. Some apps have -v or -V that does the same thing, it's slight application specific. If you installed an app via RPM "rpm -q <appname> will tell you, too.
Old 08-02-2004, 02:49 PM   #3
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
rpm -qa | grep gcc

i think it shows the version, i'm not sure... try it...


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
Find out distribution + version (NOT: kernel version!) Tajci Red Hat 5 06-08-2005 03:17 PM
find out version bobbens Linux - Newbie 5 09-21-2004 01:45 PM
uninstalling old software version and installing the new version RottenMutt Linux - Newbie 4 07-10-2003 11:32 PM
Find the right version? newlinux Linux - Newbie 5 06-15-2003 02:38 AM
please help, command to find version lyes143 Linux - General 5 07-23-2002 04:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 PM.

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