How to Install and Uninstall python3-psycopg Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 19,2024

1. Install "python3-psycopg" package

In this section, we are going to explain the necessary steps to install python3-psycopg on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install python3-psycopg

2. Uninstall "python3-psycopg" package

Please follow the steps below to uninstall python3-psycopg on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the python3-psycopg package on Ubuntu 24.04 LTS (Noble Numbat)

Package: python3-psycopg
Architecture: all
Version: 3.1.17-2
Priority: optional
Section: universe/python
Source: psycopg3
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Tomasz Rybak
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 665
Depends: python3-typing-extensions, python3:any, libpq5
Suggests: python3-psycopg-pool, python-psycopg-doc
Conflicts: python3-psycopg3
Replaces: python3-psycopg3
Filename: pool/universe/p/psycopg3/python3-psycopg_3.1.17-2_all.deb
Size: 116910
MD5sum: 83a7019e097e36db0ad6a436ef7ce4bf
SHA1: a125c8bc9a780bc6d95ba48af7f5f326a8b237db
SHA256: 19f35b5e21532b91969b9924ad58df799e240fd5e6882875c6ff750a5a812831
SHA512: 783b64cc11829be8e8034bca5e99936dd1f17f44d073e9b66dea88a5299bf46775875c8a64ea53718720aeffe93740bfbf8f5e7c267f14b8d4ebd8097f65c740
Homepage: https://www.psycopg.org/psycopg3/
Description: PostgreSQL database adapter for Python 3
Description-md5: dfbf319cedcd850f42759456feb3a31c