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

Last updated: November 06,2024

1. Install "postgresql-postgis" package

Please follow the guidance below to install postgresql-postgis on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgresql-postgis

2. Uninstall "postgresql-postgis" package

Please follow the guidance below to uninstall postgresql-postgis on Debian 12 (Bookworm):

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

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

Package: postgresql-postgis
Source: postgis (3.3.2+dfsg-1)
Version: 3.3.2+dfsg-1+b1
Installed-Size: 69
Maintainer: Debian GIS Project
Architecture: amd64
Depends: postgresql-postgis-scripts, postgresql-15-postgis-3
Description: Geographic objects support for PostgreSQL -- Metapackage
Description-md5: 376935d64d6bdd19c32a16a0f375bdbf
Homepage: http://postgis.net/
Section: metapackages
Priority: optional
Filename: pool/main/p/postgis/postgresql-postgis_3.3.2+dfsg-1+b1_amd64.deb
Size: 20508
MD5sum: 8f83e37064c02e76b2d16e61a808dc6a
SHA256: ceeb57564f219137786aa524fe53f0ba60bf8485bc294649c50d87711cea913a