Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install postgis on ubuntu 12.04
* aptitude purge postgresql-9.1-postgis2
* aptitude purge libgeos-3.3.3
* sudo aptitude install postgresql-server-dev-9.1
* sudo aptitude install checkinstall
* sudo aptitude install libproj-dev
* Geos
** wget http://download.osgeo.org/geos/geos-3.3.5.tar.bz2
** http://trac.osgeo.org/geos/
** ./configure && make && sudo checkinstall
* GDAL
** wget http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz
** ./configure && make && sudo checkinstall
* Postgis 2.0
** wget http://download.osgeo.org/postgis/source/postgis-2.0.1.tar.gz
** ./configure && make && sudo checkinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment