How to Install and Uninstall postgis Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "postgis" package

Learn how to install postgis on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install postgis

2. Uninstall "postgis" package

This is a short guide on how to uninstall postgis on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: postgis
Architecture: amd64
Version: 3.0.0+dfsg-6ubuntu4
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1515
Depends: libc6 (>= 2.29), libgdal26 (>= 2.0.1), libgeos-c1v5 (>= 3.8.0), libpq5, libproj15 (>= 4.9.0)
Recommends: postgresql-12-postgis-3, postgis-doc
Suggests: postgis-gui
Filename: pool/universe/p/postgis/postgis_3.0.0+dfsg-6ubuntu4_amd64.deb
Size: 305348
MD5sum: 4294fc5a68578e57464286cb6a4c6ce8
SHA1: 787151c528e34f11d84c5e591d430fb8cec8d59a
SHA256: f457c7b8fe84ebed11d7882b9efe945511f4f8709d12583e94733004e7662733
Homepage: http://postgis.net/
Description: Geographic objects support for PostgreSQL
Description-md5: 8aab8a2ee2d60aceb4196de4389b1c02