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

Last updated: September 19,2024

1. Install "postgresql-server.x86_64" package

Please follow the guidelines below to install postgresql-server.x86_64 on Amazon Linux 2

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

2. Uninstall "postgresql-server.x86_64" package

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

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

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

Loaded plugins: ovl, priorities
Available Packages
Name : postgresql-server
Arch : x86_64
Version : 9.2.24
Release : 6.amzn2
Size : 3.8 M
Repo : amzn2-core/2/x86_64
Summary : The programs needed to create and run a PostgreSQL server
URL : http://www.postgresql.org/
License : PostgreSQL
Description : PostgreSQL is an advanced Object-Relational database management
: system (DBMS). The postgresql-server package contains the programs
: needed to create and run a PostgreSQL server, which will in turn
: allow you to create and maintain PostgreSQL databases.