How to Install and Uninstall postgresql-contrib Package on Debian 12 (Bookworm)

Last updated: December 30,2024

1. Install "postgresql-contrib" package

In this section, we are going to explain the necessary steps to install postgresql-contrib on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgresql-contrib

2. Uninstall "postgresql-contrib" package

Please follow the steps below to uninstall postgresql-contrib on Debian 12 (Bookworm):

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

3. Information about the postgresql-contrib package on Debian 12 (Bookworm)

Package: postgresql-contrib
Source: postgresql-common (248)
Version: 15+248
Installed-Size: 15
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-contrib-15
Description: additional facilities for PostgreSQL (supported version)
Description-md5: 1548dd7748148521c6b13b8290f451b4
Tag: devel::lang:sql, role::metapackage, role::program, role::shared-lib,
scope::utility, suite::postgresql, works-with::db
Section: database
Priority: optional
Filename: pool/main/p/postgresql-common/postgresql-contrib_15+248_all.deb
Size: 10112
MD5sum: 7fdf1dfcf6856a2559c431a446ed9883
SHA256: 9413693f8fbdf80896aa90d5aff64aea258832694d3a5fd17ea4eb319a1aaf72