How to find the available packages’ versions with aptitude on Linux?
With aptitude, you can use this command to show the available versions of a package:
aptitude versions <package name>
In the console GUI, aptitude also show the versions.
You may also simulate installation of a package and see which version will be installed:
aptitude install -V -s <package name>
You can find which version is installed on your system if you have installed it by:
dpkg -l | grep <package name>