How to Install and Uninstall python-pygresql Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 28,2024

1. Install "python-pygresql" package

Please follow the instructions below to install python-pygresql on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pygresql

2. Uninstall "python-pygresql" package

Here is a brief guide to show you how to uninstall python-pygresql on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-pygresql package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-pygresql
Priority: optional
Section: universe/python
Installed-Size: 361
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Architecture: amd64
Source: pygresql
Version: 1:4.0-3.1
Replaces: python2.3-pygresql, python2.4-pygresql
Provides: python-pg, python2.7-pygresql
Depends: python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2), python-egenix-mxdatetime, libc6 (>= 2.4), libpq5
Suggests: python-pygresql-dbg
Conflicts: python2.3-pygresql, python2.4-pygresql
Filename: pool/universe/p/pygresql/python-pygresql_4.0-3.1_amd64.deb
Size: 75004
MD5sum: be0c5ae5fb68b69a02da51861b35fb76
SHA1: 91e9832c7090a56565a637f1b49b31a780029eb9
SHA256: 97c70a8e2a75a41cbb4c58efabf4c6396f8b3eea0497568ef6cfccdd2adb9c1f
Description-en: PostgreSQL module for Python
PyGreSQL is a Python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script.
Description-md5: c31d3a6c55e6c4d42f9bbe13fadc0781
Python-Version: 2.7
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu