Source Code

The latest source code and companion user doc releases are:

Latest development snapshot:

A complete set of historical releases are available in the source download directory. Logos are available in the logo directory.

Source code repository:

Compiling Source

For platform specific compilation instructions refer to Compile and Install for various Operating Systems.

To build from source, you will need a complete installation of PostgreSQL, either built and installed from source itself, or including the development headers and utilities. For Linux users, that means installing the postgresql-devel or postgresql-dev packages as well as the base packages.

You will also need to install and/or build GEOS, Proj.4, GDAL, LibXML2 and JSON-C.

tar xvzf postgis-2.1.2.tar.gz 
cd postgis-2.1.2 
./configure 
make 
make install