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

Last updated: December 24,2024

1. Install "postgresql" package

Please follow the guidelines below to install postgresql on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postgresql

2. Uninstall "postgresql" package

This tutorial shows how to uninstall postgresql on Ubuntu 21.10 (Impish Indri):

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

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

Package: postgresql
Architecture: all
Version: 13+226
Priority: optional
Section: database
Source: postgresql-common (226)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 69
Depends: postgresql-13
Suggests: postgresql-doc
Filename: pool/main/p/postgresql-common/postgresql_13+226_all.deb
Size: 4624
MD5sum: dd2a2e6811a88cbdef97752d6b2afa02
SHA1: cd2ba60bcf57648edf85b189c0ff5c17e0f9cb58
SHA256: 31da202d45618a18e1e57604e7b7f3c433ff587d7879609b2a2b8b443797b258
SHA512: 9b0981a86c91db94fdffceb585f0a137f4dc496c3b95e21117044a7452b590c16a2ef657f0b50cf8dc1aba9ba068f69c8b28fc5ddd028fe2555104a5606cd015
Description-en: object-relational SQL database (supported version)
This metapackage always depends on the currently supported PostgreSQL
database server version.
.
PostgreSQL is a fully featured object-relational database management
system. It supports a large part of the SQL standard and is designed
to be extensible by users in many aspects. Some of the features are:
ACID transactions, foreign keys, views, sequences, subqueries,
triggers, user-defined types and functions, outer joins, multiversion
concurrency control. Graphical user interfaces and bindings for many
programming languages are available as well.
Description-md5: bdff2d6e5b2a1dd00e72b3ed8729d9ac
Task: postgresql-server