How to Install and Uninstall postgresql-contrib.x86_64 Package on Amazon Linux 2

Last updated: May 18,2024

1. Install "postgresql-contrib.x86_64" package

This guide covers the steps necessary to install postgresql-contrib.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install postgresql-contrib.x86_64

2. Uninstall "postgresql-contrib.x86_64" package

Please follow the guidance below to uninstall postgresql-contrib.x86_64 on Amazon Linux 2:

$ sudo yum remove postgresql-contrib.x86_64 $ sudo yum autoremove

3. Information about the postgresql-contrib.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : postgresql-contrib
Arch : x86_64
Version : 9.2.24
Release : 6.amzn2
Size : 550 k
Repo : amzn2-core/2/x86_64
Summary : Extension modules distributed with PostgreSQL
URL : http://www.postgresql.org/
License : PostgreSQL
Description : The postgresql-contrib package contains various extension modules
: that are included in the PostgreSQL distribution.