How to Install and Uninstall php7.4-pgsql Package on Debian 11 (Bullseye)

Last updated: May 18,2024

1. Install "php7.4-pgsql" package

This guide covers the steps necessary to install php7.4-pgsql on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.4-pgsql

2. Uninstall "php7.4-pgsql" package

Please follow the guidance below to uninstall php7.4-pgsql on Debian 11 (Bullseye):

$ sudo apt remove php7.4-pgsql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4-pgsql package on Debian 11 (Bullseye)

Package: php7.4-pgsql
Source: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 216
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381), libc6 (>= 2.14), libpq5 (>= 9.3~)
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.30-3+0~20220627.69+debian11~1.gbpf2b381_amd64.deb
Size: 55468
SHA256: 8933102d70ecc2c23648d2548c6fde8e0cf262b1c7b9b0a85a7e439c5e569f8f
SHA1: 919e1597f40aaa3c6e23b8776f19464568e4ab88
MD5sum: 2cc96f9e24fc20aff7bf1383ef0dedb7
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6

Package: php7.4-pgsql
Source: php7.4
Version: 7.4.30-1+deb11u1
Installed-Size: 216
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.30-1+deb11u1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/updates/main/p/php7.4/php7.4-pgsql_7.4.30-1+deb11u1_amd64.deb
Size: 55584
SHA256: 2fc3788428a2426c42fefd2cd492f9b1be427251c7908fadfe7ced851d7358b3

Package: php7.4-pgsql
Source: php7.4
Version: 7.4.28-1+deb11u1
Installed-Size: 216
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.28-1+deb11u1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.28-1+deb11u1_amd64.deb
Size: 55472
MD5sum: a6479faf9f5b92fbab6efa849b394d2e
SHA256: 2ed8a783da7c6058d04ab2f1d0b0487601e751fe1cef644f695af1c914029570