How to Install and Uninstall python3-postgresql Package on Debian 11 (Bullseye)

Last updated: May 09,2024

1. Install "python3-postgresql" package

Please follow the guidance below to install python3-postgresql on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-postgresql

2. Uninstall "python3-postgresql" package

In this section, we are going to explain the necessary steps to uninstall python3-postgresql on Debian 11 (Bullseye):

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

3. Information about the python3-postgresql package on Debian 11 (Bullseye)

Package: python3-postgresql
Source: py-postgresql (1.2.1+git20180803.ef7b9a9-2)
Version: 1.2.1+git20180803.ef7b9a9-2+b3
Installed-Size: 2652
Maintainer: Debian Python Modules Team
Architecture: amd64
Depends: libpython3-stdlib, python3 (<< 3.10), python3 (>= 3.9~), python3:any, libc6 (>= 2.14), libjs-sphinxdoc (>= 2.4.3-5~)
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-2+b3_amd64.deb
Size: 331076
MD5sum: 11bf6c0c9fa2b11c1e221f44eeacd5b2
SHA256: fc5ccae81e22012813b5027783a7388a521caa4e62ef2e8bfac9ab004e1d87ce