How to Install and Uninstall postgis Package on Debian 12 (Bookworm)
Last updated: February 24,2025
Notice
You can also install and uninstall the postgis on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "postgis" package
Please follow the step by step instructions below to install postgis on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
postgis
Copied
2. Uninstall "postgis" package
Please follow the instructions below to uninstall postgis on Debian 12 (Bookworm):
$
sudo apt remove
postgis
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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