Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have read this question: 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.

share|improve this question

migrated from dba.stackexchange.com Nov 29 '12 at 18:29

This question came from our site for database professionals who wish to improve their database skills and learn from others in the community.

I think you should ask the PostGIS people whether there will be a package soon or not. –  dezso Nov 29 '12 at 16:29
if you're really that anxious for it, you could install from source –  swasheck Nov 29 '12 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)

share|improve this answer
The last line with postgresql-9.2-postgis2 doesn't work, unfortunately they only have PostgreSQL 9.1 support for now. –  limist Feb 4 '13 at 21:45
what does "then build" mean??? –  mapBaker Sep 10 '13 at 16:29
I get this error: W: Failed to fetch ppa.launchpad.net/sharpie/for-science/ubuntu/dists/saucy/main/… 404 Not Found –  priestc Dec 17 '13 at 21:52

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

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.