If you want to check which version of a package is installed on a #debian based #linux system like #ubuntu the command "dpkg" is your buddy. It provides everything you need to manage your .deb packages, including version listing.
For a full list:
$~ dpkg --list
For a special package:
$~ dpkg --list | grep [pkg-name]