How to Install and Uninstall libpq5 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 21,2024

1. Install "libpq5" package

Please follow the step by step instructions below to install libpq5 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libpq5

2. Uninstall "libpq5" package

Learn how to uninstall libpq5 on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove libpq5 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpq5 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libpq5
Architecture: amd64
Version: 10.22-0ubuntu0.18.04.1
Multi-Arch: same
Priority: optional
Section: libs
Source: postgresql-10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 376
Depends: libc6 (>= 2.14), libgssapi-krb5-2 (>= 1.14+dfsg), libldap-2.4-2 (>= 2.4.7), libssl1.1 (>= 1.1.0)
Filename: pool/main/p/postgresql-10/libpq5_10.22-0ubuntu0.18.04.1_amd64.deb
Size: 108048
MD5sum: c04808c1fac192bc91331d701bd5e903
SHA1: ff12a5a1b2592be0b67d833102506194278cccd9
SHA256: da3c109b76b5a10ed0912c6738b59ac64ff076fca3532bf948fcc145e81b1db4
SHA512: a2e87a9c7a0d188c5620cff2a5e50d69713cfea289c36b99e022718a1867f801204adb5c543221ffddb5a6f091073b5a9ecc9617c883cf2dfeab874c16d5b96b
Homepage: http://www.postgresql.org/
Description: PostgreSQL C client library
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Task: postgresql-server, ubuntustudio-video, ubuntustudio-graphics
Supported: 5y

Package: libpq5
Architecture: amd64
Version: 10.3-1
Multi-Arch: same
Priority: optional
Section: libs
Source: postgresql-10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 364
Depends: libc6 (>= 2.14), libgssapi-krb5-2 (>= 1.14+dfsg), libldap-2.4-2 (>= 2.4.7), libssl1.1 (>= 1.1.0)
Filename: pool/main/p/postgresql-10/libpq5_10.3-1_amd64.deb
Size: 105536
MD5sum: faef320bdf9057c62552755aef1c14ab
SHA1: 696a8e9fabd33db011a4fad9b837d0a99e73630a
SHA256: 1ac9afbaddd24b9073473a7198dd04c20f0f074ebd379ac7dbf7b57eefa00d28
Homepage: http://www.postgresql.org/
Description: PostgreSQL C client library
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Task: postgresql-server, ubuntustudio-video, ubuntustudio-graphics
Supported: 5y