Help answer threads with 0 replies.
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 01-20-2010, 09:46 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 1

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

does any one know how to check the version of a program, in particular geant4, in linux usuing the command lines?
Old 01-20-2010, 09:59 AM   #2
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, 10:00 AM   #3
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
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, 10:01 AM   #4
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
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, 10:19 AM   #5
Senior Member
Registered: Sep 2007
Posts: 1,034

Rep: Reputation: 65
Originally Posted by emily4phy View Post
does any one know how to check the version of a program, in particular geant4, in linux usuing the command lines?
For example:
firefox --version


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 01:34 PM
HOW to check Linux version amitkatiyaan Linux - Newbie 11 04-27-2009 03:25 PM
linux version check cheehongjb Linux - Newbie 3 12-04-2008 02:55 AM
check Linux version redhad ryzor Linux - Newbie 1 03-20-2006 02:20 AM
Check version of program from urpmi apokryphos Linux - General 3 08-27-2004 03:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 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
Open Source Consulting | Domain Registration