How to Install and Uninstall postgresql-13 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "postgresql-13" package

In this section, we are going to explain the necessary steps to install postgresql-13 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postgresql-13

2. Uninstall "postgresql-13" package

Here is a brief guide to show you how to uninstall postgresql-13 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the postgresql-13 package on Ubuntu 21.10 (Impish Indri)

Package: postgresql-13
Architecture: amd64
Version: 13.5-0ubuntu0.21.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: 41252
Provides: postgresql-contrib-13
Depends: locales | locales-all, postgresql-client-13, postgresql-common (>= 182~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu67 (>= 67.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm11 (>= 1:9~svn298832-1~), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 3.1~), libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), 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-13/postgresql-13_13.5-0ubuntu0.21.10.1_amd64.deb
Size: 15036796
MD5sum: 503e5fe6654763f5b20fcf6731718d42
SHA1: 230e265192eb008fad11d3b73f13793e3b2c6d9a
SHA256: 40821d4521c06110734830bd43f0254c56577df209e7e652e0fe5c2aa6a7e1c7
SHA512: 15b3560a7a5de04b3eef350541634bfae0d85e7f33e07d2bd14cdefeb65510975a15bf1df07565651fcf8fcca287d827bb48b838b1a339045efcefed4e1eba1a
Homepage: http://www.postgresql.org/
Description-en: The World's Most Advanced Open Source Relational Database
PostgreSQL, also known as Postgres, is a free and open-source relational
database management system (RDBMS) emphasizing extensibility and SQL
compliance. It features transactions with Atomicity, Consistency, Isolation,
Durability (ACID) properties, automatically updatable views, materialized
views, triggers, foreign keys, and stored procedures. It is designed to handle
a range of workloads, from single machines to data warehouses or Web services
with many concurrent users.
.
This package provides the database server for PostgreSQL 13.
Description-md5: df9917fe1350be06d60c0b79c1c53e5a
Task: postgresql-server
Postgresql-Catversion: 202007201

Package: postgresql-13
Architecture: amd64
Version: 13.4-1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 41228
Provides: postgresql-contrib-13
Depends: locales | locales-all, postgresql-client-13, postgresql-common (>= 182~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.3.1), libgssapi-krb5-2 (>= 1.14+dfsg), libicu67 (>= 67.1-1~), libldap-2.5-0 (>= 2.5.4), libllvm11 (>= 1:9~svn298832-1~), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 3.1~), libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), 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-13/postgresql-13_13.4-1_amd64.deb
Size: 15019488
MD5sum: f36a0bdbf0d820115fae8efad86d1ef4
SHA1: 1cc25cd24e17c0c5dbd8b06b14299a7a9c2da085
SHA256: a71e6e216c5adc3a7371ccca76671c011d5e4bdd8cb45ab60b8eafbcd5d8414b
SHA512: e589dc82fd2716cd3d2b8dfa66c5376e53001caabc21c8e468ab3582c85d2ff5c5605297b26f4d4c35c952b8e46da8c1ce17062cf50d039d13377364ecb15857
Homepage: http://www.postgresql.org/
Description-en: The World's Most Advanced Open Source Relational Database
PostgreSQL, also known as Postgres, is a free and open-source relational
database management system (RDBMS) emphasizing extensibility and SQL
compliance. It features transactions with Atomicity, Consistency, Isolation,
Durability (ACID) properties, automatically updatable views, materialized
views, triggers, foreign keys, and stored procedures. It is designed to handle
a range of workloads, from single machines to data warehouses or Web services
with many concurrent users.
.
This package provides the database server for PostgreSQL 13.
Description-md5: df9917fe1350be06d60c0b79c1c53e5a
Task: postgresql-server
Postgresql-Catversion: 202007201

5. The same packages on other Linux Distributions