How to Install and Uninstall postgresql Package on Ubuntu 22.10 (Kinetic Kudu)
Last updated: November 21,2024
1. Install "postgresql" package
Please follow the step by step instructions below to install postgresql on Ubuntu 22.10 (Kinetic Kudu)
$
sudo apt update
Copied
$
sudo apt install
postgresql
Copied
2. Uninstall "postgresql" package
This is a short guide on how to uninstall postgresql on Ubuntu 22.10 (Kinetic Kudu):
$
sudo apt remove
postgresql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the postgresql package on Ubuntu 22.10 (Kinetic Kudu)
Package: postgresql
Architecture: all
Version: 14+242ubuntu1
Priority: optional
Section: database
Source: postgresql-common (242ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70
Depends: postgresql-14
Suggests: postgresql-doc
Filename: pool/main/p/postgresql-common/postgresql_14+242ubuntu1_all.deb
Size: 2794
MD5sum: ff544d294253c5b9a93fbfd93379f352
SHA1: 063533e7adc7fd380f62ded2e88f25998f2c7002
SHA256: a1c625725c3b85281ae02d47099f3d3029a53f74a81e05c5892feb675c6b27ad
SHA512: 489dc74a0204f42cc797e83cb6b5f5bfff7aa9f6d0e8a364c2ae323b23674236d59e77ce9be07198f4bbfc51e17d681e4621d56f77fad887473be85047e0f7bc
Description: object-relational SQL database (supported version)
Description-md5: bdff2d6e5b2a1dd00e72b3ed8729d9ac
Task: postgresql-server
Architecture: all
Version: 14+242ubuntu1
Priority: optional
Section: database
Source: postgresql-common (242ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70
Depends: postgresql-14
Suggests: postgresql-doc
Filename: pool/main/p/postgresql-common/postgresql_14+242ubuntu1_all.deb
Size: 2794
MD5sum: ff544d294253c5b9a93fbfd93379f352
SHA1: 063533e7adc7fd380f62ded2e88f25998f2c7002
SHA256: a1c625725c3b85281ae02d47099f3d3029a53f74a81e05c5892feb675c6b27ad
SHA512: 489dc74a0204f42cc797e83cb6b5f5bfff7aa9f6d0e8a364c2ae323b23674236d59e77ce9be07198f4bbfc51e17d681e4621d56f77fad887473be85047e0f7bc
Description: object-relational SQL database (supported version)
Description-md5: bdff2d6e5b2a1dd00e72b3ed8729d9ac
Task: postgresql-server