How to Install and Uninstall python3-postgresql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 09,2024

1. Install "python3-postgresql" package

Here is a brief guide to show you how to install python3-postgresql on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-postgresql

2. Uninstall "python3-postgresql" package

This guide covers the steps necessary to uninstall python3-postgresql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python3-postgresql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-postgresql
Architecture: amd64
Version: 1.2.1+git20180803.ef7b9a9-2build1
Priority: optional
Section: universe/python
Source: py-postgresql
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2618
Depends: libpython3-stdlib, python3 (<< 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.14), libjs-sphinxdoc (>= 1.0)
Filename: pool/universe/p/py-postgresql/python3-postgresql_1.2.1+git20180803.ef7b9a9-2build1_amd64.deb
Size: 332832
MD5sum: cef8304b51b9742d15dcc88f15681d50
SHA1: e668404a0933ce8345b7ace84d02fca972122901
SHA256: 1c9219a831adc00a6e9cf7b886dc0ca197f2b5bcb5f1d585106de29c9d49234c
Homepage: https://github.com/python-postgres/fe
Description: pgsql driver, cluster management tools, and client tools
Description-md5: 8281920506b56ff36e451b0491756ea6