How to Install and Uninstall libpq5 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "libpq5" package

Please follow the instructions below to install libpq5 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libpq5

2. Uninstall "libpq5" package

In this section, we are going to explain the necessary steps to uninstall libpq5 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libpq5 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libpq5
Architecture: amd64
Version: 16.2-1
Multi-Arch: same
Priority: optional
Section: libs
Source: postgresql-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 424
Depends: libc6 (>= 2.38), libgssapi-krb5-2 (>= 1.17), libldap2 (>= 2.6.2), libssl3 (>= 3.0.0)
Filename: pool/main/p/postgresql-16/libpq5_16.2-1_amd64.deb
Size: 138314
MD5sum: 80c6af67a62cb63c57233fc57f9ed733
SHA1: b935fde579de4db0de83ac683acc98032434a768
SHA256: 4b56fae037f048594c4e13524df4cb24a8348451ef3baa2ee21cf4259318f202
SHA512: e4f178e73a94400da5eeb13e78be6b43ac2b1a68a8b90eb041e0a35a4ad76c8bb4a1f0c6c5b671e38d50679278d0a25a2d775001bd0e7122ffdef5a5070b310d
Homepage: http://www.postgresql.org/
Description: PostgreSQL C client library
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Task: postgresql-server, ubuntustudio-video, ubuntustudio-photography, ubuntustudio-graphics, ubuntustudio-publishing, ubuntukylin-desktop-minimal, edubuntu-desktop-gnome, edubuntu-desktop-gnome-raspi