Skip to content

Instantly share code, notes, and snippets.

@scottjacobsen
Created November 20, 2012 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottjacobsen/4119639 to your computer and use it in GitHub Desktop.
Save scottjacobsen/4119639 to your computer and use it in GitHub Desktop.
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