How to Install and Uninstall postgresql-14 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 29,2024
Notice
You can also install and uninstall the postgresql-14 on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "postgresql-14" package
Please follow the guidance below to install postgresql-14 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
postgresql-14
Copied
2. Uninstall "postgresql-14" package
This guide covers the steps necessary to uninstall postgresql-14 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
postgresql-14
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the postgresql-14 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: postgresql-14
Architecture: amd64
Version: 14.11-0ubuntu0.22.04.1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43320
Provides: postgresql-14-jit-llvm (= 14), postgresql-contrib-14
Depends: locales | locales-all, postgresql-client-14, postgresql-common (>= 229~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu70 (>= 70.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 11), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Filename: pool/main/p/postgresql-14/postgresql-14_14.11-0ubuntu0.22.04.1_amd64.deb
Size: 16151642
MD5sum: b574cc53391580928b4a7362d719b29e
SHA1: 34e3a1aa37597627356c4e2be7571afe2cf6ddb9
SHA256: e3bf9fc95614c10b78bbab28aba2841fd27cdded69ad67f32f82a19c3bd61814
SHA512: 5947fb418ca0a0c3cb04b09246e6abb9fdd2cd27af522a4e2a3285741cb553a60e9365a93957fee7d04f484925a2d5de0a6b43ddb5d1eb0f70efc9f01b239ebb
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: e097e365827b496f56f577bb771e4b9a
Task: postgresql-server
Postgresql-Catversion: 202107181
Package: postgresql-14
Architecture: amd64
Version: 14.2-1ubuntu1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43212
Provides: postgresql-14-jit-llvm (= 14), postgresql-contrib-14
Depends: locales | locales-all, postgresql-client-14, postgresql-common (>= 229~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu70 (>= 70.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 11), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Filename: pool/main/p/postgresql-14/postgresql-14_14.2-1ubuntu1_amd64.deb
Size: 16098482
MD5sum: ced4277ffcdb1ce16e76c58a3642d63c
SHA1: 3e4b68e269b80c763506b93a9b356765b2bbe008
SHA256: cabc57b3f555b0fd28f5a64925425abf162dc4e52687a80e5b4f87eedecadea9
SHA512: c247af7715aa0bd99980f5abcd108dbf426021b60492a81245fd444cfe16d21c03b27385b657d43e185ff0824acf549f5d10ce47c5ac70f5525423b5f142010f
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: e097e365827b496f56f577bb771e4b9a
Task: postgresql-server
Postgresql-Catversion: 202107181
Architecture: amd64
Version: 14.11-0ubuntu0.22.04.1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43320
Provides: postgresql-14-jit-llvm (= 14), postgresql-contrib-14
Depends: locales | locales-all, postgresql-client-14, postgresql-common (>= 229~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu70 (>= 70.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 11), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Filename: pool/main/p/postgresql-14/postgresql-14_14.11-0ubuntu0.22.04.1_amd64.deb
Size: 16151642
MD5sum: b574cc53391580928b4a7362d719b29e
SHA1: 34e3a1aa37597627356c4e2be7571afe2cf6ddb9
SHA256: e3bf9fc95614c10b78bbab28aba2841fd27cdded69ad67f32f82a19c3bd61814
SHA512: 5947fb418ca0a0c3cb04b09246e6abb9fdd2cd27af522a4e2a3285741cb553a60e9365a93957fee7d04f484925a2d5de0a6b43ddb5d1eb0f70efc9f01b239ebb
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: e097e365827b496f56f577bb771e4b9a
Task: postgresql-server
Postgresql-Catversion: 202107181
Package: postgresql-14
Architecture: amd64
Version: 14.2-1ubuntu1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43212
Provides: postgresql-14-jit-llvm (= 14), postgresql-contrib-14
Depends: locales | locales-all, postgresql-client-14, postgresql-common (>= 229~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu70 (>= 70.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~~), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 11), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Filename: pool/main/p/postgresql-14/postgresql-14_14.2-1ubuntu1_amd64.deb
Size: 16098482
MD5sum: ced4277ffcdb1ce16e76c58a3642d63c
SHA1: 3e4b68e269b80c763506b93a9b356765b2bbe008
SHA256: cabc57b3f555b0fd28f5a64925425abf162dc4e52687a80e5b4f87eedecadea9
SHA512: c247af7715aa0bd99980f5abcd108dbf426021b60492a81245fd444cfe16d21c03b27385b657d43e185ff0824acf549f5d10ce47c5ac70f5525423b5f142010f
Homepage: http://www.postgresql.org/
Description: The World's Most Advanced Open Source Relational Database
Description-md5: e097e365827b496f56f577bb771e4b9a
Task: postgresql-server
Postgresql-Catversion: 202107181