9

Is there a way to know what version of pgrouting I have?

My OS is ubuntu 12.04.

I want to know my pgrouting version because the 1.05 version has some issues with shooting start and the directed graphs and the last stable version which has this algorithm is 1.03.

5
  • How did you install pgrouting? From source(*.tar.gz or git clone) or ubuntu package(apt-get install *)?
    – sanak
    Commented Sep 20, 2012 at 13:49
  • From ubuntu package Commented Sep 24, 2012 at 18:21
  • Can you give me the command you used to install it?
    – R.K.
    Commented Sep 24, 2012 at 18:33
  • sudo add-apt-repository ppa:georepublic/pgrouting sudo apt-get update sudo apt-get install gaul-devel \ postgresql-9.1-pgrouting \ postgresql-9.1-pgrouting-dd \ postgresql-9.1-pgrouting-tsp \ pgrouting-workshop Commented Sep 24, 2012 at 19:57
  • What do you see in aptitude then?? ("/" to search)
    – Aname
    Commented Sep 25, 2012 at 9:16

2 Answers 2

22

Another option would be select * from pgr_version()

1
  • 2
    This is a much better option, as it works on any OS. Worth mentioning that pgr_version is a function with hard-coded values, that also returns git versions. Commented Jul 4, 2016 at 7:52
2

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
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.