Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I check installed program versions in terminal. Is there any command for that, for example ver or something similar?

share|improve this question

marked as duplicate by precise, Avinash Raj, Radu Rădeanu, souravc, Richard Mar 30 '14 at 17:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@rusty That is clearly another question, even if the answer is there. – Radu Rădeanu Mar 30 '14 at 7:44
@AvinashRaj I agree. Let's close it. – Radu Rădeanu Mar 30 '14 at 8:06
@RaduRădeanu can't disagree.. but like you've said too, that sure answers this post.. – precise Mar 30 '14 at 14:18
up vote 5 down vote accepted

The way how to know version of an installed package varies for different programs. Usually

application_name --version


application_name -version

can be used to know it. It is better to see man application_name and search which is the command line switch to know the version.

If you installed any package using apt, to see the version you can try

apt-cache policy package_name

In few cases the version can be found in application_name --help. For example virtualbox

In few very little case application_name -v also gives you version.

share|improve this answer
thnx, it was very helpful :) – albdaq Mar 30 '14 at 7:26
package_name --version is not usually, it's a standard, so it must to work with any package. – Radu Rădeanu Mar 30 '14 at 7:30
package_name -v is also not usually. It works only for a small number of programs. See gedit -v, ls -l, chromium-browser -v, grep -v, sed -v, etc. So I think that is not a good advice at all. – Radu Rădeanu Mar 30 '14 at 7:42
Thanks @RaduRădeanu for correcting me. I meant to say application, but written package by mistake. Edited, plz check once. – souravc Mar 30 '14 at 7:58
@souravc It doesn't make any difference. See google-chrome -v or chromium-browser -v. And any application is a program for me. See also – Radu Rădeanu Mar 30 '14 at 8:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.