How to Install and Uninstall php-pgsql.x86_64 Package on CentOS 8 / RHEL 8

Last updated: April 26,2024

1. Install "php-pgsql.x86_64" package

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

$ sudo dnf update $ sudo dnf install php-pgsql.x86_64

2. Uninstall "php-pgsql.x86_64" package

Please follow the step by step instructions below to uninstall php-pgsql.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove php-pgsql.x86_64 $ sudo dnf autoremove

3. Information about the php-pgsql.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:57:56 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : php-pgsql
Version : 7.4.19
Release : 1.el8.remi
Architecture : x86_64
Size : 142 k
Source : php-7.4.19-1.el8.remi.src.rpm
Repository : remi-modular
Summary : A PostgreSQL database module for PHP
URL : http://www.php.net/
License : PHP
Description : The php-pgsql package add PostgreSQL database support to PHP.
: PostgreSQL is an object-relational database management
: system that supports almost all SQL constructs. PHP is an
: HTML-embedded scripting language. If you need back-end support for
: PostgreSQL, you should install this package in addition to the main
: php package.