LinuxQuestions.org
Review your favorite Linux distribution.
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-20-2010, 10:46 AM   #1
emily4phy
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
how to check version of a program in linux?


Hi,
does any one know how to check the version of a program, in particular geant4, in linux usuing the command lines?
thanks!
 
Old 01-20-2010, 10:59 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Usually programname --version or programname -v
 
Old 01-20-2010, 11:00 AM   #3
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Either by checking the man page which will give you proper syntax or alternately by using -v or -V flag typically... but it varies program to program there is no standard way.
 
Old 01-20-2010, 11:01 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
I'd suggest that --version is most reliable of the given suggestions, since -v or -V are also often used to indicate 'verbose' rather than 'version'
 
Old 01-20-2010, 11:19 AM   #5
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by emily4phy View Post
Hi,
does any one know how to check the version of a program, in particular geant4, in linux usuing the command lines?
thanks!
For example:
Code:
firefox --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
howto check module version under linux ? cccc Linux - Hardware 4 02-26-2013 02:34 PM
HOW to check Linux version amitkatiyaan Linux - Newbie 11 04-27-2009 04:25 PM
linux version check cheehongjb Linux - Newbie 3 12-04-2008 03:55 AM
check Linux version redhad ryzor Linux - Newbie 1 03-20-2006 03:20 AM
Check version of program from urpmi apokryphos Linux - General 3 08-27-2004 04:32 PM


All times are GMT -5. The time now is 05:02 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