Changes between Version 2 and Version 3 of UsersWikiPostGIS24Debian9src


Ignore:
Timestamp:
Aug 19, 2017, 9:42:19 AM (4 years ago)
Author:
chrismarx
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS24Debian9src

    v2 v3  
    11= How to install PostGIS 2.4 on Debian 9.x (''stretch'') from source =
    2 
    3 == WIP! Work in Progress! ==
    42
    53== Prerequisites ==
     
    86Without the Docker image, start by first installing the Postgres package:
    97{{{
    10 sudo apt-get install postgresql-9.1 postgresql-server-dev-9.1
     8sudo apt-get install postgresql-9.6 postgresql-server-dev-9.6
    119}}}
    1210
     
    1614}}}
    1715
    18 === Build GEOS 3.4.x ===
     16=== Build GEOS 3.7.x ===
    1917PostGIS 2.4 is best used with GEOS >= 3.7 for several new features, however Debian wheezy only has GEOS 3.5.1 available in packages, so if you want the version that enables all features, GEOS needs to be built from source. If you don't need the new features(e.g ST_FrechetDistance), you can instead install the available version of GEOS {{{sudo apt-get libgeos-dev}}}.
    2018
     
    5856CREATE EXTENSION postgis_topology;
    5957}}}
     58
     59== Troubleshooting ==
     60
     61If you already had Postgres running before the build, make sure to restart:
     62{{{
     63sudo /etc/init.d/postgresql restart
     64}}}