How to Install and Uninstall python3-postgresql Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "python3-postgresql" package

In this section, we are going to explain the necessary steps to install python3-postgresql on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-postgresql

2. Uninstall "python3-postgresql" package

Please follow the guidance below to uninstall python3-postgresql on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-postgresql package on Ubuntu 21.10 (Impish Indri)

Package: python3-postgresql
Architecture: amd64
Version: 1.2.1+git20180803.ef7b9a9-2build3
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: 2655
Depends: libpython3-stdlib, python3 (<< 3.10), python3 (>= 3.9~), python3:any, libc6 (>= 2.14), libjs-sphinxdoc (>= 2.4.3-5~)
Filename: pool/universe/p/py-postgresql/python3-postgresql_1.2.1+git20180803.ef7b9a9-2build3_amd64.deb
Size: 331084
MD5sum: 86bfb578575b94c52c0957d8e01668a1
SHA1: b675c2514447dc8b4b36d9e8ef2b7064a496642f
SHA256: e4d843e60da6e376ef4650f28cf926bbafe85681c6138ce1c5d57da0fb5046ce
SHA512: 4a7c24c2ac70d239d977d88ea431ad39a208c675d39cf2782bea916f43cdef3c48f3c9862a2b06b5a3c856c01325a605ebb50188505a1ed5f6a2c1428861320b
Homepage: https://github.com/python-postgres/fe
Description-en: pgsql driver, cluster management tools, and client tools
py-postgresql is a python3 DB-API driver, including cluster management
tools and client development tools. Written in pure Python 3 with
optional optimizations written in C.
.
It provides support for protocol-level prepared statements, the
COPY interface, arrays and composite types, and a console to run
quick tests and simple scripts in PostgreSQL called pg_python.
Description-md5: 8281920506b56ff36e451b0491756ea6