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

Last updated: April 29,2024

1. Install "postgresql" package

Please follow the step by step instructions below to install postgresql on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install postgresql

2. Uninstall "postgresql" package

In this section, we are going to explain the necessary steps to uninstall postgresql on Ubuntu 23.10 (Mantic Minotaur):

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

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

Package: postgresql
Architecture: all
Version: 15+253
Priority: optional
Section: database
Source: postgresql-common (253)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: postgresql-15
Suggests: postgresql-doc
Filename: pool/main/p/postgresql-common/postgresql_15+253_all.deb
Size: 10634
MD5sum: 20fb4fadf520f48f273edcedf1b52aa8
SHA1: 58b89a04e02735f3ba91bf4266fbabe5f1c4c302
SHA256: f1717390a2103a661c0313d9869d1e62273e4e70228ee9b24ec68d07f1285dd4
SHA512: a869601dd691167d72a96ffd188b74e7c91e337fee6c4e202f65a09453242fe45e68cd2304729e3109e96e527e02e81c0ca24736b707bf79e6a43154b0eb906a
Description: object-relational SQL database (supported version)
Description-md5: bdff2d6e5b2a1dd00e72b3ed8729d9ac
Task: postgresql-server