How to Install and Uninstall postgresql-10 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: October 05,2024

1. Install "postgresql-10" package

In this section, we are going to explain the necessary steps to install postgresql-10 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install postgresql-10

2. Uninstall "postgresql-10" package

This is a short guide on how to uninstall postgresql-10 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the postgresql-10 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: postgresql-10
Architecture: amd64
Version: 10.22-0ubuntu0.18.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: 14848
Provides: postgresql-contrib-10
Depends: locales, postgresql-client-10, postgresql-common (>= 182~), ssl-cert, tzdata, libc6 (>= 2.17), libgssapi-krb5-2 (>= 1.14+dfsg), libicu60 (>= 60.1-1~), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 2.1.12), libssl1.1 (>= 1.1.0), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Suggests: locales-all
Filename: pool/main/p/postgresql-10/postgresql-10_10.22-0ubuntu0.18.04.1_amd64.deb
Size: 3776648
MD5sum: f40a7380bbcfe5dcd1925773c7a664ac
SHA1: 6a7d86263bda5954cb4a44b9cb429dd3fbaf6f27
SHA256: 4b639f54315ec8b8e4e6aad4785c71e45968542650ee803dd36caf7157f8e46d
SHA512: aebd9834a74509f84e0c57bb2af1ad6f03992e257be3f4072944c26e46738fd06bccd4fe8d3150095ee7d0c4ca4ba1826141dc82ef5c353a28534b97710ffd20
Homepage: http://www.postgresql.org/
Description: object-relational SQL database, version 10 server
Description-md5: 99222d39773bfcad9899d42876edecfb
Task: postgresql-server
Postgresql-Catversion: 201707211
Supported: 5y

Package: postgresql-10
Architecture: amd64
Version: 10.3-1
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14752
Provides: postgresql-contrib-10
Depends: locales, postgresql-client-10, postgresql-common (>= 182~), ssl-cert, tzdata, libc6 (>= 2.17), libgssapi-krb5-2 (>= 1.14+dfsg), libicu60 (>= 60.1-1~), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 2.1.12), libssl1.1 (>= 1.1.0), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Suggests: locales-all
Filename: pool/main/p/postgresql-10/postgresql-10_10.3-1_amd64.deb
Size: 3747644
MD5sum: 532c62602c17b7a7670442b0d781bd37
SHA1: df83566e4a93dce2fbaaf40c3e252dec9caa0ae1
SHA256: 9469f634f79ec66311684623204a3cfc63e1d56ca33d7a7a45a271cc46fe0467
Homepage: http://www.postgresql.org/
Description: object-relational SQL database, version 10 server
Description-md5: 99222d39773bfcad9899d42876edecfb
Task: postgresql-server
Postgresql-Catversion: 201707211
Supported: 5y

5. The same packages on other Linux Distributions