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

Last updated: May 05,2024

1. Install "python-psycopg2" package

This is a short guide on how to install python-psycopg2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-psycopg2

2. Uninstall "python-psycopg2" package

This guide let you learn how to uninstall python-psycopg2 on Debian 10 (Buster):

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

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

Package: python-psycopg2
Source: psycopg2
Version: 2.7.7-1
Installed-Size: 822
Maintainer: Debian Python Modules Team
Architecture: amd64
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.15), libpq5 (>= 9.3~)
Recommends: python-egenix-mxdatetime
Suggests: python-psycopg2-doc
Description: Python module for PostgreSQL
Description-md5: 650e03ba7ee7667206bfd25f2bcc4ca1
Homepage: http://initd.org/projects/psycopg
Tag: devel::lang:python, protocol::db:psql, role::program, role::shared-lib,
use::storing, works-with::db
Section: python
Priority: optional
Filename: pool/main/p/psycopg2/python-psycopg2_2.7.7-1_amd64.deb
Size: 163464
MD5sum: dd0b8c1d12a9ed2351e7850475fe5390
SHA256: 2fb72f1c8651b813d5cd0539f36eacce74b37e1d56fe49000c87ce6e4dc9f2f1