How to Install and Uninstall python3-postgresql Package on Debian 12 (Bookworm)

Last updated: May 09,2024

1. Install "python3-postgresql" package

This guide covers the steps necessary to install python3-postgresql on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-postgresql

2. Uninstall "python3-postgresql" package

This guide let you learn how to uninstall python3-postgresql on Debian 12 (Bookworm):

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

3. Information about the python3-postgresql package on Debian 12 (Bookworm)

Package: python3-postgresql
Source: py-postgresql (1.2.1+git20180803.ef7b9a9-4)
Version: 1.2.1+git20180803.ef7b9a9-4+b3
Installed-Size: 3084
Maintainer: Debian Python Team
Architecture: amd64
Depends: libpython3-stdlib, python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.14), libjs-sphinxdoc (>= 5.2)
Description: pgsql driver, cluster management tools, and client tools
Description-md5: 8281920506b56ff36e451b0491756ea6
Homepage: https://github.com/python-postgres/fe
Section: python
Priority: optional
Filename: pool/main/p/py-postgresql/python3-postgresql_1.2.1+git20180803.ef7b9a9-4+b3_amd64.deb
Size: 346744
MD5sum: ad8d96d931ab3a110bc5e9fdc4be5978
SHA256: 598dc81e43c1ed65a5fd2c62201b4b6e3e3d4c09f0e0ea6ac4ae9b7ee2c00dd3