How to Install and Uninstall postgis Package on Debian 10 (Buster)

Last updated: May 19,2024

1. Install "postgis" package

Here is a brief guide to show you how to install postgis on Debian 10 (Buster)

$ sudo apt update $ sudo apt install postgis

2. Uninstall "postgis" package

This guide let you learn how to uninstall postgis on Debian 10 (Buster):

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

3. Information about the postgis package on Debian 10 (Buster)

Package: postgis
Version: 2.5.1+dfsg-1
Installed-Size: 900
Maintainer: Debian GIS Project
Architecture: amd64
Depends: libc6 (>= 2.14), libgdal20 (>= 2.0.1), libgeos-c1v5 (>= 3.4.2), liblwgeom-2.5-0 (>= 2.0.0), libpq5
Recommends: postgresql-11-postgis-2.5, postgis-doc
Suggests: postgis-gui
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_2.5.1+dfsg-1_amd64.deb
Size: 631428
MD5sum: 7c7d3de45ed147d304760a17bbd61bc6
SHA256: 3ce5c7c7c2b6d134f3814aae7ff89cda69f84ebf7d84c669c083f3dcc935d6c2