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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-20-2010, 09:46 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 1
Rep:
|
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!
|
|
|
01-20-2010, 09:59 AM
|
#2
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep:
|
Usually programname --version or programname -v
|
|
|
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:
|
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.
|
|
|
01-20-2010, 10:01 AM
|
#4
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
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'
|
|
|
01-20-2010, 10:19 AM
|
#5
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Rep:
|
Quote:
Originally Posted by emily4phy
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:
|
|
|
All times are GMT -5. The time now is 06:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|