[GIS] Can POSTGIS 2.0 be install with POSTGRES 9.2 on Ubuntu 12.04 OS at the moment

postgis-2.0postgresqlUbuntu

This question is more about environment set up.

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

I check their website out and to my understanding it is not possible…

 http://trac.osgeo.org/postgis/wiki/UsersWikiInstall#PostGIS2.0

I hope that's not the case. Any one can tell and point out the instruction how to install POSTGIS 2.0 on POSTGRES 9.2 on Ubuntu?

Thanks

Best Answer

Ubuntu 12.04 LTS normally supports PostgreSQL 9.1. To get PostgreSQL 9.2 would require another method.

Try installing PostgreSQL 9.2 using instructions from https://wiki.postgresql.org/wiki/Apt

After the repository has been added, follow these instructions, with one modification:

sudo apt-get install build-essential postgresql-9.2 postgresql-server-dev-9.2 libxml2-dev libproj-dev libjson0-dev xsltproc docbook-xsl docbook-mathml