The latest source code and companion user doc releases are:
Source code repository:
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-dev packages as well as the base packages.
tar xvzf postgis-2.1.3.tar.gz cd postgis-2.1.3 ./configure make make install