How to Install and Uninstall postgis Package on Debian 12 (Bookworm)

Last updated: May 13,2024

1. Install "postgis" package

Please follow the step by step instructions below to install postgis on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgis

2. Uninstall "postgis" package

Please follow the instructions below to uninstall postgis on Debian 12 (Bookworm):

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

3. Information about the postgis package on Debian 12 (Bookworm)

Package: postgis
Source: postgis (3.3.2+dfsg-1)
Version: 3.3.2+dfsg-1+b1
Installed-Size: 361
Maintainer: Debian GIS Project
Architecture: amd64
Depends: libc6 (>= 2.34), libgdal32 (>= 2.0.1), libgeos-c1v5 (>= 3.6), libpq5, libproj25 (>= 5.2.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.3.2+dfsg-1+b1_amd64.deb
Size: 132968
MD5sum: eaf76d7beaf9de906bd8f7a63de1d2af
SHA256: 75b1986aee2409d11f1a3f79ed29e53b2aa77209ba755f95990f74816e3bb3b5