How to Install and Uninstall python-pygresql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

1. Install "python-pygresql" package

This tutorial shows how to install python-pygresql on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-pygresql

2. Uninstall "python-pygresql" package

Learn how to uninstall python-pygresql on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-pygresql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-pygresql
Architecture: amd64
Version: 1:5.0.4-1
Priority: optional
Section: universe/python
Source: pygresql
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 287
Provides: python-pg, python2.7-pygresql
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libpq5 (>= 9.0~)
Suggests: python-pygresql-doc
Conflicts: python2.3-pygresql, python2.4-pygresql
Replaces: python2.3-pygresql, python2.4-pygresql
Filename: pool/universe/p/pygresql/python-pygresql_5.0.4-1_amd64.deb
Size: 63912
MD5sum: 05b3787cf1807848de6897414b2d8a8b
SHA1: 7b210fdb010cb6a44e30d28a60912dae9877559d
SHA256: a3fe5a98ded8adfb665f07141b7f768e8ec9acecd220cae8eeff22c37276e7eb
Homepage: http://www.pygresql.org/index.html
Description: PostgreSQL module for Python
Description-md5: 659b1bcae20631d784a16e6d0ebd97db