How to Install and Uninstall python3-psycopg2 Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 23,2024
1. Install "python3-psycopg2" package
This guide covers the steps necessary to install python3-psycopg2 on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
python3-psycopg2
Copied
2. Uninstall "python3-psycopg2" package
Please follow the step by step instructions below to uninstall python3-psycopg2 on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
python3-psycopg2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-psycopg2 package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: python3-psycopg2
Architecture: amd64
Version: 2.7.4-1
Priority: optional
Section: python
Source: psycopg2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 818
Provides: python3.6-psycopg2
Depends: python3 (<< 3.7), python3 (>= 3.6~), python3:any (>= 3.3.2-2~), libc6 (>= 2.15), libpq5 (>= 9.3~)
Suggests: python-psycopg2-doc
Filename: pool/main/p/psycopg2/python3-psycopg2_2.7.4-1_amd64.deb
Size: 151636
MD5sum: 906a214915772eb8309bb8854d41053d
SHA1: b2c07e532d28d4a6bcdb40bcd7e6f9480feae2e4
SHA256: 6aa03ccc0eb5c1a2290ee3b25f2575a7c5bb0a4d99f371b598e39c873f5b1c0f
Homepage: http://initd.org/projects/psycopg
Description: Python 3 module for PostgreSQL
Description-md5: 8f5ccf5f38f0965d243851578ccea66a
Supported: 5y
Architecture: amd64
Version: 2.7.4-1
Priority: optional
Section: python
Source: psycopg2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 818
Provides: python3.6-psycopg2
Depends: python3 (<< 3.7), python3 (>= 3.6~), python3:any (>= 3.3.2-2~), libc6 (>= 2.15), libpq5 (>= 9.3~)
Suggests: python-psycopg2-doc
Filename: pool/main/p/psycopg2/python3-psycopg2_2.7.4-1_amd64.deb
Size: 151636
MD5sum: 906a214915772eb8309bb8854d41053d
SHA1: b2c07e532d28d4a6bcdb40bcd7e6f9480feae2e4
SHA256: 6aa03ccc0eb5c1a2290ee3b25f2575a7c5bb0a4d99f371b598e39c873f5b1c0f
Homepage: http://initd.org/projects/psycopg
Description: Python 3 module for PostgreSQL
Description-md5: 8f5ccf5f38f0965d243851578ccea66a
Supported: 5y