How to Install and Uninstall postgresql-16 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "postgresql-16" package

Learn how to install postgresql-16 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install postgresql-16

2. Uninstall "postgresql-16" package

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

$ sudo apt remove postgresql-16 $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgresql-16 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: postgresql-16
Architecture: amd64
Version: 16.2-1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43804
Provides: postgresql-16-jit-llvm (= 17), postgresql-contrib-16
Depends: locales | locales-all, postgresql-client-16, postgresql-common (>= 252~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu74 (>= 74.1-1~), libldap2 (>= 2.6.2), libllvm17, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 16~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libstdc++6 (>= 5.2), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Breaks: dbconfig-common (<< 2.0.22~)
Filename: pool/main/p/postgresql-16/postgresql-16_16.2-1_amd64.deb
Size: 15457850
MD5sum: e57afd83079649b2e312e2970349bc89
SHA1: 6cb7610bdf27f6a6726df1bf422cba26f90cbab8
SHA256: fd37a1f4f906e8a4a3506a68e768367e7d4d8524e29782d4ac9a241d24fe28c4
SHA512: 873d448ac335b650ede69777adeb40c5314c4d4fcc0a068e6f5b9af6ef1f55262a30882eb9c68f8a23024aac67556df79bb7729515bcebec77bfbaf69ead9fe3
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: d7367291c15795e56aa78252604f9ced
Task: postgresql-server
Postgresql-Catversion: 202307071

5. The same packages on other Linux Distributions