How to Install postgresql-10-postgis-2.4-scripts in Ubuntu 18.04



Install postgresql-10-postgis-2.4-scripts by entering the following commands in the terminal:

sudo apt update
sudo apt install postgresql-10-postgis-2.4-scripts

Description:

Geographic objects support for PostgreSQL 10 -- SQL scripts

PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS "Simple Features Specification for SQL". . This package contains the SQL scripts for installing PostGIS in a PostgreSQL 10 database, and for upgrading from earlier PostGIS versions.

Homepage: http://postgis.net/

Version: 2.4.3+dfsg-4

Section: universe/misc