How to Install and Uninstall postgresql-postgis Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 12,2024

1. Install "postgresql-postgis" package

This guide covers the steps necessary to install postgresql-postgis on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install postgresql-postgis

2. Uninstall "postgresql-postgis" package

Please follow the guidance below to uninstall postgresql-postgis on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the postgresql-postgis package on Ubuntu 24.04 LTS (Noble Numbat)

Package: postgresql-postgis
Architecture: amd64
Version: 3.4.2+dfsg-1ubuntu1
Priority: optional
Section: universe/metapackages
Source: postgis
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 63
Depends: postgresql-postgis-scripts, postgresql-16-postgis-3
Filename: pool/universe/p/postgis/postgresql-postgis_3.4.2+dfsg-1ubuntu1_amd64.deb
Size: 14414
MD5sum: a8f6fcc040ea53c94961013217f365ba
SHA1: 50cd8881d33f4d38e5502c724dcdbb80f8432631
SHA256: 145a02e42d2b2875d3533a755321b1398d835672a42d3b584529411e83b6a6aa
SHA512: b9a366cfaa8d8d6a85f8992c443b19fb33f928b66c1d726742a8387f81d10e5190a712034da5e24455dd870d88aa18965c0a9824e556670c15617ea88bf3d37b
Homepage: https://postgis.net/
Description: Geographic objects support for PostgreSQL -- Metapackage
Description-md5: 4793ca8be5f451ff360d302fc2df1069