How to Install and Uninstall postgresql-contrib Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "postgresql-contrib" package

This is a short guide on how to install postgresql-contrib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install postgresql-contrib

2. Uninstall "postgresql-contrib" package

This tutorial shows how to uninstall postgresql-contrib on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the postgresql-contrib package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: postgresql-contrib
Architecture: all
Version: 9.5+173ubuntu0.3
Priority: optional
Section: database
Source: postgresql-common (173ubuntu0.3)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 58
Depends: postgresql-contrib-9.5
Filename: pool/main/p/postgresql-common/postgresql-contrib_9.5+173ubuntu0.3_all.deb
Size: 5400
MD5sum: fa492251b0b49e2b10ec34e640a3bfb6
SHA1: 2e6ad9f2faf3c2bf78c079720a698c83fb0f5531
SHA256: ce8ecbb8af2803a8987ea28559d04a779dd9566f045f920af18f22589c7a63eb
SHA512: e573cc48da99964e7e69a4cc9cad0b41011440cc0e9a0019834c29afda7ff3a1442765d14017990b48449daf274ec1efa9000e7eedf7d05a10690ba108a367d6
Description-en: additional facilities for PostgreSQL (supported version)
This metapackage always depends on the currently supported PostgreSQL
database contrib package.
.
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: 1548dd7748148521c6b13b8290f451b4
Task: postgresql-server
Supported: 5y

Package: postgresql-contrib
Priority: optional
Section: database
Installed-Size: 58
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Source: postgresql-common (173)
Version: 9.5+173
Depends: postgresql-contrib-9.5
Filename: pool/main/p/postgresql-common/postgresql-contrib_9.5+173_all.deb
Size: 5344
MD5sum: 6a706efd88f7735f832fb815d3089688
SHA1: 8efd800dc4a8bdbeb88c53e85eda813730b68913
SHA256: 5ab619929252f0b4197b53d98a00a05f115f34232429af19a8d38106a7500b8a
Description-en: additional facilities for PostgreSQL (supported version)
This metapackage always depends on the currently supported PostgreSQL
database contrib package.
.
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: 1548dd7748148521c6b13b8290f451b4
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: postgresql-server