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

Last updated: May 11,2024

1. Install "postgresql.x86_64" package

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

$ sudo dnf update $ sudo dnf install postgresql.x86_64

2. Uninstall "postgresql.x86_64" package

Please follow the guidance below to uninstall postgresql.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove postgresql.x86_64 $ sudo dnf autoremove

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

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