How can I check installed program versions in terminal. Is there any command for that, for example ver or something similar?
Asked
Active
Viewed 3.5e+01k times
1 Answers
30
The way how to know version of an installed package varies for different programs. Usually
application_name --version
or
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.

sourav c.
- 44,715
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 07:30package_name -v
is also not usually. It works only for a small number of programs. Seegedit -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 07:42google-chrome -v
orchromium-browser -v
. And any application is a program for me. See also http://unix.stackexchange.com/q/2645/37944. – Radu Rădeanu Mar 30 '14 at 08:05