LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-21-2004, 06:49 PM   #1
tensigh
Member
 
Registered: Mar 2004
Location: Tokyo, Japan
Distribution: Backtrack 5 R3
Posts: 141

Rep: Reputation: 15
How to tell which version of software you're running


How can you tell which version of something you're running?
Like, I need to know which version of exim I'm running, which version of Perl, which version of SpamAssassin, etc.

Is there a general command that does this? I can (sometimes) find src files and look that way (SpamAssassin-2.63.tar.gz, for example). Is there a more sophisticated way?
 
Old 04-21-2004, 08:28 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Code:
bash -v
vim -v
apache -v
 
Old 04-21-2004, 08:31 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
If you have a distribution that supports package managers (and if the package you're interested in happens to have been installed with that manager, instead of manually) then that's your best bet.

For example, on SuSE Linux, I would go into "YaST2, Control Panel", select "Install/Remove Software", and choose "Search" to query any package.

Otherwise, most packages (Perl, for instance), support a "-v" command line switch.

Hope that helps .. PSM
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Version Running Pr070n Linux - Newbie 2 05-26-2005 11:48 AM
How do I tell what version I am running? Alotau Linux - Newbie 3 04-11-2005 09:20 PM
what version am i running wedgeworth Linux - Newbie 2 04-08-2004 10:55 PM
Old X version running? nhwk Debian 2 03-06-2004 01:49 PM
uninstalling old software version and installing the new version RottenMutt Linux - Newbie 4 07-10-2003 11:32 PM


All times are GMT -5. The time now is 10:51 PM.

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