I have read this question: https://dba.stackexchange.com/questions/25033/install-postgis-v2-for-postgresql-v9-2, but it didn't resolve my problem.

I added the PostgreSQL backports PPA and installed the postgresql-9.2 package, but there is no package for PostGIS.

  • 2
    I think you should ask the PostGIS people whether there will be a package soon or not.
    – dezso
    Nov 29, 2012 at 16:29
  • 1
    if you're really that anxious for it, you could install from source
    – swasheck
    Nov 29, 2012 at 18:39

2 Answers 2


How to Get Started with PostGIS 2.0 on Ubuntu 12.04 (precise)

(only tested on a Oracle VM) see Migrating to Linux from Windows previous install.

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:sharpie/for-science
sudo apt-add-repository ppa:sharpie/postgis-stable
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install postgresql-9.2-postgis2 

Then build

http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204 (replace postgresql-9.1 with postgresql-9.2)


You may download the source file and build it by yourself:

Install GEOS(for topology support)

wget http://download.osgeo.org/geos/geos-3.3.9.tar.bz2
tar xfj geos-3.3.9.tar.bz2
cd geos-3.3.9
sudo make install

Install PostGIS 2.0

wget http://download.osgeo.org/postgis/source/postgis-2.0.6.tar.gz
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

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.