LinuxQuestions.org
Review your favorite Linux distribution.
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 03-22-2012, 05:22 PM   #1
saief
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
help me


How to know the version of software that installed on linux ?
 
Old 03-22-2012, 05:47 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi saief,

Welcome to LQ!!!

Small tip before we start with your query. Title of your post does not state that what exactly you are looking for. Putting titles like this might not get the proper attention. I would suggest you to look at the following link and make yourself aware how you can make your post more effective: http://www.linuxquestions.org/linux/...Ask_a_Question

Coming back to your query. It is quite a simple query and you would got the answer by searching on google which you didn't. We are here to help you but if you are not ready to take effort then we can't help.

How to find the package version will depend on which distribution you are using. If you are using a distribution which is deb based like Ubuntu and Debian you can run the following command to get the version information.

Code:
dpkg -s <package name>
If you are using rpm based distribution then you can run the following command to get the version information:

Code:
rpm -qa | grep <package name>
 
Old 03-22-2012, 06:51 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
Quote:
How to know the version of software that installed on linux ?
the current version for your operating system
 
Old 03-23-2012, 10:17 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010Reputation: 2010
It also helps to clarify your questions with a few details. Do you need the version info for individual programs, the distribution, the distribution's packages, or even a single specific program? What do you need this info for? scripting? Or just personal edification?

In any case, this kind of thing is generally trivial to find with just a tiny bit of effort. In addition to the above advice, almost every individual program includes some way to display its own current version information.

For gui programs you usually just look in the "help/about" menu or similar.

cli programs (and gui programs launched from the shell) generally have an option like -v or --version or similar. You can usually find a list of options by reading the man page ("man programname") or using quick help info option (generally something like "programname --help").
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 AM.

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
Open Source Consulting | Domain Registration