Changes between Version 2 and Version 3 of UsersWikiPostGIS24Debian9src
- Timestamp:
- 08/19/17 09:42:19 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS24Debian9src
v2 v3 1 1 = How to install PostGIS 2.4 on Debian 9.x (''stretch'') from source = 2 3 == WIP! Work in Progress! ==4 2 5 3 == Prerequisites == … … 8 6 Without the Docker image, start by first installing the Postgres package: 9 7 {{{ 10 sudo apt-get install postgresql-9. 1 postgresql-server-dev-9.18 sudo apt-get install postgresql-9.6 postgresql-server-dev-9.6 11 9 }}} 12 10 … … 16 14 }}} 17 15 18 === Build GEOS 3. 4.x ===16 === Build GEOS 3.7.x === 19 17 PostGIS 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}}}. 20 18 … … 58 56 CREATE EXTENSION postgis_topology; 59 57 }}} 58 59 == Troubleshooting == 60 61 If you already had Postgres running before the build, make sure to restart: 62 {{{ 63 sudo /etc/init.d/postgresql restart 64 }}}