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

Last updated: October 06,2024

1. Install "postgresql.x86_64" package

Please follow the guidance below to install postgresql.x86_64 on CentOS Stream 8

$ sudo dnf update $ sudo dnf install postgresql.x86_64

2. Uninstall "postgresql.x86_64" package

Please follow the steps below to uninstall postgresql.x86_64 on CentOS Stream 8:

$ sudo dnf remove postgresql.x86_64 $ sudo dnf autoremove

3. Information about the postgresql.x86_64 package on CentOS Stream 8

Last metadata expiration check: 4:07:12 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : postgresql
Version : 10.23
Release : 2.module_el8+572+929c87ac
Architecture : x86_64
Size : 1.6 M
Source : postgresql-10.23-2.module_el8+572+929c87ac.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.