Source Code

The latest source code and companion user doc releases are:

Can’t find your version listed here? it’s probably been EOL’d

Refer to our Version compatibility and EOL Policy for details.

Versions that have reached end of life can still be downloaded from PostGIS source tar balls.

Latest development snapshot:

Latest stable branch snapshots:

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.5.0.tar.gz
cd postgis-2.5.0
./configure
make
make install