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

Last updated: May 17,2024

1. Install "python3-pygresql" package

Please follow the step by step instructions below to install python3-pygresql on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-pygresql

2. Uninstall "python3-pygresql" package

Please follow the guidance below to uninstall python3-pygresql on Debian 12 (Bookworm):

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

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

Package: python3-pygresql
Source: pygresql (1:5.1.2-2)
Version: 1:5.1.2-2+b2
Installed-Size: 294
Maintainer: Debian QA Group
Architecture: amd64
Provides: python3-pg
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.14), libpq5 (>= 9.5~~)
Suggests: python-pygresql-doc
Description: PostgreSQL module for Python3
Description-md5: 7fea7c86818140d77a062eccee13411b
Homepage: https://www.pygresql.org/index.html
Section: python
Priority: optional
Filename: pool/main/p/pygresql/python3-pygresql_5.1.2-2+b2_amd64.deb
Size: 66092
MD5sum: 77645b4f70f4a2d20346320a01f6a824
SHA256: 65852253351852e34d18655da169ba8fbbb9a14ef6a2bbd313b231fc643d4c67