How to Install and Uninstall postgresql-15 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 10,2024

1. Install "postgresql-15" package

This tutorial shows how to install postgresql-15 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install postgresql-15

2. Uninstall "postgresql-15" package

This guide covers the steps necessary to uninstall postgresql-15 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the postgresql-15 package on Ubuntu 23.10 (Mantic Minotaur)

Package: postgresql-15
Architecture: amd64
Version: 15.5-0ubuntu0.23.10.1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44600
Provides: postgresql-15-jit-llvm (= 15), postgresql-contrib-15
Depends: locales | locales-all, postgresql-client-15, postgresql-common (>= 241~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu72 (>= 72.1~rc-1~), libldap2 (>= 2.6.2), libllvm15, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libstdc++6 (>= 11), 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-15/postgresql-15_15.5-0ubuntu0.23.10.1_amd64.deb
Size: 16415918
MD5sum: 68ecb6ba7b53b2085a1eadc50098c448
SHA1: 6d664b7d188067f9b3a55ca08dd8661ec087a309
SHA256: fb1c3e805d19cc64673fdcf7d844e0ac7f09f2dad86cd698014a1f626db62da9
SHA512: 6a44f762e4bda9d290fc351d13531ac011cd2f0173a6f283f0c3262122919c1edc41a516b787f76989c139b0ea9ffc65afee1705df8212eee9fe060b763db534
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: ff581fbc7eeb8143b9e56451b41dadfa
Task: postgresql-server
Postgresql-Catversion: 202209061

Package: postgresql-15
Architecture: amd64
Version: 15.4-1ubuntu1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44572
Provides: postgresql-15-jit-llvm (= 15), postgresql-contrib-15
Depends: locales | locales-all, postgresql-client-15, postgresql-common (>= 241~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu72 (>= 72.1~rc-1~), libldap2 (>= 2.6.2), libllvm15, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libstdc++6 (>= 11), 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-15/postgresql-15_15.4-1ubuntu1_amd64.deb
Size: 16398824
MD5sum: bb14f90f175d4e82e573066af56cb196
SHA1: 1e5e91f01acedc0d09bbe36d7f293b6d4b47cc45
SHA256: c8fd6af1b0bb55f789878c27ba2e38514736540a6a30ab1f80baaf7cc40ea37c
SHA512: 62aeca2ec7e3c5f5de887bd5ff16604da20af31afd6e1cadbf7e4f81fa54e25a8cd694f7476db35e9adf32c39c0d5f123c76e99be26ed5043626f06281b03cba
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: ff581fbc7eeb8143b9e56451b41dadfa
Task: postgresql-server
Postgresql-Catversion: 202209061

5. The same packages on other Linux Distributions