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

Last updated: July 03,2024

1. Install "postgresql.x86_64" package

Please follow the instructions below to install postgresql.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install postgresql.x86_64

2. Uninstall "postgresql.x86_64" package

This guide let you learn how to uninstall postgresql.x86_64 on Amazon Linux 2:

$ sudo yum remove postgresql.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : postgresql
Arch : x86_64
Version : 9.2.24
Release : 6.amzn2
Size : 3.0 M
Repo : amzn2-core/2/x86_64
Summary : PostgreSQL client programs
URL : http://www.postgresql.org/
License : PostgreSQL
Description : PostgreSQL is an advanced Object-Relational database management
: system (DBMS). The base postgresql package contains the client
: programs that you'll need to access a PostgreSQL DBMS server, as
: well as HTML documentation for the whole system. These client
: programs can be located on the same machine as the PostgreSQL
: server, or on a remote machine that accesses a PostgreSQL server
: over a network connection. The PostgreSQL server can be found in
: the postgresql-server sub-package.