APT
List installed version of a package:
$ apt cache policy <package_name>
Check all versions avaliable of a package:
$ apt -a list <package_name>