How to Install and Uninstall php7.2-pgsql Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "php7.2-pgsql" package

Here is a brief guide to show you how to install php7.2-pgsql on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-pgsql" package

Please follow the guidance below to uninstall php7.2-pgsql on Debian 12 (Bookworm):

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

3. Information about the php7.2-pgsql package on Debian 12 (Bookworm)

Package: php7.2-pgsql
Source: php7.2
Version: 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 212
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431), libc6 (>= 2.14), libpq5 (>= 9.3~)
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-43+0~20230902.90+debian12~1.gbpc2a431_amd64.deb
Size: 55232
SHA256: fb540569563e6ca98404499e6e67db68293c93ee4150f327c4957de9a83b6cc5
SHA1: 085d2efa0a6ae9a79ac38497da49797f199e667a
MD5sum: 1e7844a07852e97c09203fba4d63744d
Description: PostgreSQL module for PHP
This package provides the PostgreSQL module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6