| 34 | |
| 35 | == Install only commandline tools == |
| 36 | |
| 37 | If you only want the commandline tools and don't want to install the whole server or you want to use a newer version of the commandline tools (shp2pgsql, raster2pgsql) |
| 38 | |
| 39 | {{{ |
| 40 | sudo apt-cache policy postgis #gives list of versions |
| 41 | # to install default version |
| 42 | sudo apt install postgis --no-install-recommends |
| 43 | |
| 44 | #if you'd prefer to install a specific version where 2.4.3+dfsg-4 replace with your desired version from cache policy list |
| 45 | sudo apt install postgis=2.4.3+dfsg-4 --no-install-recommends |
| 46 | |
| 47 | }}} |
| 48 | |