LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-13-2006, 06:15 AM   #1
Bamitola
Member
 
Registered: Aug 2006
Location: Nigeria
Posts: 39

Rep: Reputation: 15
what command do i use to check software version


Is there a command for checking the version of a software e.g python on linux?If there is what is it?How do I use it?
 
Old 09-13-2006, 06:25 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
With python, you can just enter "python" in the command line and it will print the version of python installed as well as the version of gcc that was used to compile it (enter CTRL-D to exit the python command line). Some packages have an option which prints the version e.g. "gcc -v" or "java -version". You can also use your distributions package manager to check for versions of installed packages.
 
Old 09-13-2006, 07:14 AM   #3
Samoth
Member
 
Registered: Apr 2005
Distribution: Ubuntu dapper(2.6.17.4-custom), Gentoo 2006.1 amd64(2.6.17-r8-custombuild)
Posts: 472
Blog Entries: 1

Rep: Reputation: 30
usually with command in UNIX if you append a "--version" option to the command then it will tell you the version. This works for most programs.
Code:
mythbackend --version
Code:
mtd --version
Cheers.
<<Samoth>>
 
  


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
How to check OS version souman Linux - Software 5 06-21-2013 12:29 AM
Health Check / Server Completion Check Software? tells Linux - Enterprise 0 04-20-2006 11:03 AM
how 2 check RH version? est Red Hat 2 02-28-2005 01:17 AM
Command to find software version? phlyersphan Linux - Newbie 2 08-02-2004 02: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 06:01 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