LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-02-2004, 03:37 PM   #1
phlyersphan
Member
 
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

Thanks!
 
Old 08-02-2004, 03:48 PM   #2
btmiller
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, 03:49 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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

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


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


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

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