How to Install and Uninstall postgis Package on Debian 11 (Bullseye)

Last updated: May 08,2024

1. Install "postgis" package

Please follow the instructions below to install postgis on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install postgis

2. Uninstall "postgis" package

This guide covers the steps necessary to uninstall postgis on Debian 11 (Bullseye):

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

3. Information about the postgis package on Debian 11 (Bullseye)

Package: postgis
Version: 3.1.1+dfsg-1
Installed-Size: 1523
Maintainer: Debian GIS Project
Architecture: amd64
Depends: libc6 (>= 2.29), libgdal28 (>= 2.0.1), libgeos-c1v5 (>= 3.9.0), libpq5, libproj19 (>= 4.9.0)
Recommends: postgresql-postgis, postgis-doc
Description: Geographic objects support for PostgreSQL
Description-md5: 8aab8a2ee2d60aceb4196de4389b1c02
Homepage: http://postgis.net/
Tag: field::geography, implemented-in::c, role::program, use::organizing
Section: misc
Priority: optional
Filename: pool/main/p/postgis/postgis_3.1.1+dfsg-1_amd64.deb
Size: 332404
MD5sum: 7e4ace3b0627daa783c22d854944bf87
SHA256: 6e42aad38b821faf9853e603ff1e53cd10ba29ded6d0cba3e64a8aef70a974d1