Determining pgrouting version
Another option would be select * from pgr_version()
If you installed it through Ubuntu's package manager, then you could try firing up your terminal and typing
apt-show-versions postgresql-9.1-pgrouting
That should return the version. You might have to install apt-show-versions
apt-get install apt-show-versions