How to Install and Uninstall python3-psycopg2 Package on Debian 12 (Bookworm)
Last updated: January 10,2025
Notice
You can also install and uninstall the python3-psycopg2 on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "python3-psycopg2" package
Please follow the instructions below to install python3-psycopg2 on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
python3-psycopg2
Copied
2. Uninstall "python3-psycopg2" package
This guide let you learn how to uninstall python3-psycopg2 on Debian 12 (Bookworm):
$
sudo apt remove
python3-psycopg2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-psycopg2 package on Debian 12 (Bookworm)
Package: python3-psycopg2
Source: psycopg2 (2.9.5-1)
Version: 2.9.5-1+b1
Installed-Size: 457
Maintainer: Debian Python Team
Architecture: amd64
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.15), libpq5 (>= 10~~)
Suggests: python-psycopg2-doc
Description: Python 3 module for PostgreSQL
Description-md5: 8f5ccf5f38f0965d243851578ccea66a
Homepage: http://initd.org/projects/psycopg
Section: python
Priority: optional
Filename: pool/main/p/psycopg2/python3-psycopg2_2.9.5-1+b1_amd64.deb
Size: 123356
MD5sum: 0f113c9cab314cbf9a2581e1e8ad4d99
SHA256: e4f59385b82c63dc54cce79a53e5f0fbeb6d5b343698a43e135b95cd2823e564
Source: psycopg2 (2.9.5-1)
Version: 2.9.5-1+b1
Installed-Size: 457
Maintainer: Debian Python Team
Architecture: amd64
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.15), libpq5 (>= 10~~)
Suggests: python-psycopg2-doc
Description: Python 3 module for PostgreSQL
Description-md5: 8f5ccf5f38f0965d243851578ccea66a
Homepage: http://initd.org/projects/psycopg
Section: python
Priority: optional
Filename: pool/main/p/psycopg2/python3-psycopg2_2.9.5-1+b1_amd64.deb
Size: 123356
MD5sum: 0f113c9cab314cbf9a2581e1e8ad4d99
SHA256: e4f59385b82c63dc54cce79a53e5f0fbeb6d5b343698a43e135b95cd2823e564