How to Install and Uninstall python3-psycopg2 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: July 01,2024

1. Install "python3-psycopg2" package

In this section, we are going to explain the necessary steps to install python3-psycopg2 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install python3-psycopg2

2. Uninstall "python3-psycopg2" package

Here is a brief guide to show you how to uninstall python3-psycopg2 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the python3-psycopg2 package on Ubuntu 23.10 (Mantic Minotaur)

Package: python3-psycopg2
Architecture: amd64
Version: 2.9.6-2
Priority: optional
Section: python
Source: psycopg2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 461
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.15), libpq5 (>= 10~~)
Suggests: python-psycopg2-doc
Filename: pool/main/p/psycopg2/python3-psycopg2_2.9.6-2_amd64.deb
Size: 130192
MD5sum: 942e88f45497bd4085d5234b8a109121
SHA1: e2f0bb9be24a77e2d441f40cfb6c500f3cd6c893
SHA256: 80975947429d3fb209f69928efe595683133e71e8eb391993978d3adb24f56ab
SHA512: cecda8f13a89caae082a2aee72829f271405cb0e00e2fc2ac5d8564854c874d51a7ed439c434715362778cf50a8257dd8673d831072caa6d824a3e02d68563be
Homepage: http://initd.org/projects/psycopg
Description: Python 3 module for PostgreSQL
Description-md5: 8f5ccf5f38f0965d243851578ccea66a
Task: ubuntustudio-video