Show the version of a package in Ubuntu
Sometimes, you want to perform certain actions on your Ubuntu Linux Server, but you have to check the prerequisites first. Most of the time, a certain version of a package has to be installed. But how do you get the version of packages in Ubuntu?
apt-cache policy <package>
Replace <package> with the exact name of the package you want to check.
The option policy will show you both the installed version of the package and the version you can install using apt-get -u install <package>.
Was this article helpful? Then please donate to keep The IT Community alive...
If you found this article helpful please share it, comment and help others by writing your own article.
Translate this page:
Articles found in the same category: