How to Install and Uninstall postgis Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "postgis" package

Please follow the step by step instructions below to install postgis on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postgis

2. Uninstall "postgis" package

Here is a brief guide to show you how to uninstall postgis on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove postgis $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgis package on Ubuntu 21.10 (Impish Indri)

Package: postgis
Architecture: amd64
Version: 3.1.1+dfsg-1
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1537
Depends: libc6 (>= 2.29), libgdal28 (>= 2.0.1), libgeos-c1v5 (>= 3.9.0), libpq5, libproj19 (>= 4.9.0)
Recommends: postgresql-postgis, postgis-doc
Filename: pool/universe/p/postgis/postgis_3.1.1+dfsg-1_amd64.deb
Size: 312480
MD5sum: 8afe2e29b8d3b4d957650c68cd91e63a
SHA1: 065614796a9d614846349ea4624feb22b75ecacd
SHA256: e14ca2d1b2b92ef07cad609eb51d04ee10c22787bacce5555ff4786ef067fe35
SHA512: 85d59882b994843dfc8b0b65d1a9d5e3a61e4742738831c1e7969e3a270f3767c097216041d6ea8e6dfdc2d6cff5c9f90e112256e6ced653a6ecd82be05219c0
Homepage: http://postgis.net/
Description-en: Geographic objects support for PostgreSQL
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 PostGIS userland binaries for importing and
exporting shape and raster files: pgsql2shp, raster2pgsql, and shp2pgsql.
Description-md5: 8aab8a2ee2d60aceb4196de4389b1c02