How to Install and Uninstall python3-psycopg2 Package on Debian 10 (Buster)

Last updated: November 22,2024

1. Install "python3-psycopg2" package

This guide let you learn how to install python3-psycopg2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python3-psycopg2

2. Uninstall "python3-psycopg2" package

Learn how to uninstall python3-psycopg2 on Debian 10 (Buster):

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

3. Information about the python3-psycopg2 package on Debian 10 (Buster)

Package: python3-psycopg2
Source: psycopg2
Version: 2.7.7-1
Installed-Size: 811
Maintainer: Debian Python Modules Team
Architecture: amd64
Depends: python3 (<< 3.8), python3 (>= 3.7~), python3:any, libc6 (>= 2.15), libpq5 (>= 9.3~)
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.7.7-1_amd64.deb
Size: 160972
MD5sum: 2459858990875830779d1429e5616b08
SHA256: 9d356bebb2cdfaa4b032199a891779027cfad2682190b1831d85d21a8187c707