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

Last updated: November 23,2024

1. Install "python3-psycopg" package

This is a short guide on how to install python3-psycopg on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-psycopg

2. Uninstall "python3-psycopg" package

Here is a brief guide to show you how to uninstall python3-psycopg on Debian 12 (Bookworm):

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

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

Package: python3-psycopg
Source: psycopg3
Version: 3.1.7-4
Installed-Size: 637
Maintainer: Tomasz Rybak
Architecture: all
Replaces: python3-psycopg3
Depends: python3-typing-extensions, python3:any, libpq5
Suggests: python3-psycopg-pool, python-psycopg-doc
Conflicts: python3-psycopg3
Description: PostgreSQL database adapter for Python 3
Description-md5: dfbf319cedcd850f42759456feb3a31c
Homepage: https://www.psycopg.org/psycopg3/
Section: python
Priority: optional
Filename: pool/main/p/psycopg3/python3-psycopg_3.1.7-4_all.deb
Size: 111696
MD5sum: 8d4ff3ce1ff31e8191bdbd7323657b45
SHA256: 9660b2b0a05e0a0d89b0192ce8833276e8441398a7cddf22b16e805a05f5479d