Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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...

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?


share|improve this question
Anything is possible if you're willing to compile from source. – L_Holcombe May 22 '13 at 2:55
Recently I had a problem installing PostGis using the commands @MikeToews suggested (only using postgres 9.1) due to a missing package. Not sure if this is your problem, but it threw me off for a few hours until I realized I need to repair the packages using apt-get update --fix-missing – djq May 22 '13 at 2:59

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

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
share|improve this answer

It can't be installed from repositories, you may need to download and install from source.

Try this:

Install GEOS(for topology support)

tar xfj geos-3.3.9.tar.bz2
cd geos-3.3.9
sudo make install

Install PostGIS 2.0

tar xfz postgis-2.0.6.tar.gz
cd postgis-2.0.6
sudo make install
sudo ldconfig
sudo make comments-install

Source: how to install postgresql 9.2 + postgis 2.0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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