At the current moment, March 4th 2013, can PostGIS2.0 be install with PostgreSQL 9.2?

I checked their website and to my understanding it is not possible...

I hope that's not the case. Can anyone tell me and point out the instructions on how to install PostGIS 2.0 on PostgreSQL 9.2 on Ubuntu?

  • That page you link to was updated 4 weeks ago (specifically the Unbuntu section). There's not much reason to believe it is outdated. For this type of question, you're better off asking on a PostGIS forum/mailing list since it is very time-dependent. (i.e. not sure your question is a good fit for this site.) – Mat Mar 4 '13 at 5:48
  • 1
    If you build from source it probably is very possible. Just make sure to install postgresql 9.2 packages before building postgis. If there are no 9.2 packages for ubuntu you can build postgresql from source to. – Eelke Mar 4 '13 at 6:33

Just a followup: I just checked it and now there is a package called postgresql-9.2-postgis-2.0. The problem is finally gone.

| improve this answer | |

From what I recall reading recently you'd probably have to install both PostgreSQL and PostGIS from source in that case.

This isn't particularly difficult but you need to make sure you have all the appropriate development packages installed. Often times this will be trial and error (run ./configure, see what it complains about, install the package, wash, rinse, repeat).

if you go this route, I highly recommend running ./configure --help and reading through all the options. The PostgreSQL source is very configurable and this is easy. From there, though, PostGIS should be a piece of cake.

| improve this answer | |
  • Thanks Mat, Eelke and @Chris Travers. I will try to install from source through trial and error. – sovanlandy Mar 4 '13 at 10:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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