How to Install and Uninstall postgresql-server.x86_64 Package on CentOS 8 / RHEL 8

Last updated: May 20,2024

1. Install "postgresql-server.x86_64" package

This is a short guide on how to install postgresql-server.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install postgresql-server.x86_64

2. Uninstall "postgresql-server.x86_64" package

This is a short guide on how to uninstall postgresql-server.x86_64 on CentOS 8 / RHEL 8:

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

3. Information about the postgresql-server.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 7:34:32 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : postgresql-server
Version : 10.15
Release : 1.module_el8.3.0+619+dbc95fbc
Architecture : x86_64
Size : 5.0 M
Source : postgresql-10.15-1.module_el8.3.0+619+dbc95fbc.src.rpm
Repository : appstream
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.