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

Last updated: May 09,2024

1. Install "python3-postgresql" package

Please follow the steps below to install python3-postgresql on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install python3-postgresql

2. Uninstall "python3-postgresql" package

This tutorial shows how to uninstall python3-postgresql on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: python3-postgresql
Architecture: amd64
Version: 1.2.1+git20180803.ef7b9a9-4build4
Priority: optional
Section: universe/python
Source: py-postgresql
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3129
Depends: libpython3-stdlib, python3 (<< 3.13), python3 (>= 3.11~), python3:any, libc6 (>= 2.14), libjs-sphinxdoc (>= 5.2)
Filename: pool/universe/p/py-postgresql/python3-postgresql_1.2.1+git20180803.ef7b9a9-4build4_amd64.deb
Size: 352188
MD5sum: 63011b6bf0fbd97c434b7e0680c8f2fe
SHA1: 586237b648d0bc4484eb9fe16089e313bf6fbe0a
SHA256: 3d634d8223b340d4928bd450c569f1a9edeb913198edf0be1e87fc434239d01d
SHA512: 51c808c37fc5a989ee3a688c55158faa4d790acd6a6212964095534671e7e533b74f8728a8c2028b5335b5773ae184ece97063567074489e4706fd36b88795b1
Homepage: https://github.com/python-postgres/fe
Description: pgsql driver, cluster management tools, and client tools
Description-md5: 8281920506b56ff36e451b0491756ea6