How to Install and Uninstall postgresql-12 Package on Linux Mint 20.3 (Una)

Last updated: May 14,2024

1. Install "postgresql-12" package

This tutorial shows how to install postgresql-12 on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install postgresql-12

2. Uninstall "postgresql-12" package

Please follow the steps below to uninstall postgresql-12 on Linux Mint 20.3 (Una):

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

3. Information about the postgresql-12 package on Linux Mint 20.3 (Una)

Package: postgresql-12
Architecture: amd64
Version: 12.12-0ubuntu0.20.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: 40080
Provides: postgresql-contrib-12
Depends: locales | locales-all, postgresql-client-12, postgresql-common (>= 182~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgssapi-krb5-2 (>= 1.14+dfsg), libicu66 (>= 66.1-1~), libldap-2.4-2 (>= 2.4.7), libllvm10 (>= 1:9~svn298832-1~), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 2.1.12), 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-12/postgresql-12_12.12-0ubuntu0.20.04.1_amd64.deb
Size: 13482752
MD5sum: d8df3757cf94848b0901a3383c41fab5
SHA1: b5fe7a44ebbb33bf39f8bed0cfd05cea579880ff
SHA256: d84fe988285f540e21915e4a4d623e30f43045334cf66088130c8a843bc46629
SHA512: 31c56c99df304a52e6a805bbcd730ffcd0d10aa73568f0407cf26aeac5cb7175f75e1489c25dc224dd826998a60cb42436f8241409eff8c27a491233fff7cd43
Homepage: http://www.postgresql.org/
Description: object-relational SQL database, version 12 server
Description-md5: 09ba941c5738e7a3e249b9842d2ea694
Task: postgresql-server
Postgresql-Catversion: 201909212

Package: postgresql-12
Architecture: amd64
Version: 12.2-4
Priority: optional
Section: database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40008
Provides: postgresql-contrib-12
Depends: locales | locales-all, postgresql-client-12, postgresql-common (>= 182~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgssapi-krb5-2 (>= 1.14+dfsg), libicu66 (>= 66.1-1~), libldap-2.4-2 (>= 2.4.7), libllvm10 (>= 1:9~svn298832-1~), libpam0g (>= 0.99.7.1), libpq5 (>= 9.3~), libselinux1 (>= 2.1.12), 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-12/postgresql-12_12.2-4_amd64.deb
Size: 13425876
MD5sum: 425f62c89df3119d6ee21a33abc8551b
SHA1: 1027e9b9bc787a8268d1b21f6bdecb128930ba18
SHA256: b8161e20b5fd60967c250fa4c7ad0f9c8178afa502e71c5e8fc0e042a5d8175c
Homepage: http://www.postgresql.org/
Description: object-relational SQL database, version 12 server
Description-md5: 09ba941c5738e7a3e249b9842d2ea694
Task: postgresql-server
Postgresql-Catversion: 201909212