How to print versions of packages installed in Debian


I'm looking for a command that allows me to list versions of all packages currently installed on my Debian system. Standard dpkg output doesn't show package versions. Is there any way I could list packages along with their version number?


The quickest way to get the list of packages with their version numbers is to use the apt-show-versions command.


If apt-show-versions is not installed on your Debian system then simply issue the apt-get install apt-show-versions command to install it from the package repository.

You can also use the wajig versions command:

wajig versions