Created
November 20, 2012 17:58
-
-
Save scottjacobsen/4119639 to your computer and use it in GitHub Desktop.
Install postgis on ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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