How to Install and Uninstall postgresql-12-postgis-3 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 28,2024

1. Install "postgresql-12-postgis-3" package

Please follow the guidance below to install postgresql-12-postgis-3 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install postgresql-12-postgis-3

2. Uninstall "postgresql-12-postgis-3" package

In this section, we are going to explain the necessary steps to uninstall postgresql-12-postgis-3 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the postgresql-12-postgis-3 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: postgresql-12-postgis-3
Architecture: amd64
Version: 3.0.0+dfsg-6ubuntu4
Priority: optional
Section: universe/misc
Source: postgis
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9274
Provides: postgresql-12-postgis, postgresql-postgis
Depends: postgresql-12, postgresql-12-postgis-3-scripts, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libgdal26 (>= 2.0.1), libgeos-c1v5 (>= 3.8.0), libgmpxx4ldbl, libjson-c4 (>= 0.13.1), libpcre3, libproj15 (>= 6.0.0), libprotobuf-c1 (>= 1.0.1), libsfcgal1 (>= 1.3.1), libstdc++6 (>= 5), libxml2 (>= 2.7.4)
Suggests: postgis
Breaks: postgis (<< 1.2.1)
Filename: pool/universe/p/postgis/postgresql-12-postgis-3_3.0.0+dfsg-6ubuntu4_amd64.deb
Size: 3193696
MD5sum: 7ce0b4b835e56b9fb423fde5571a35c5
SHA1: 8dc02b8926137545a2ff2df691ada7bdd15c7a7a
SHA256: ed51068271b205441c01f5df2a7c77ba7b5d82954b5d0ccd2893e0fa7ddbd162
Homepage: http://postgis.net/
Description: Geographic objects support for PostgreSQL 12
Description-md5: b0e8ee3863c6881b491dccd7dbafc47c

5. The same packages on other Linux Distributions