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

Last updated: December 25,2024

1. Install "php7.0-pgsql" package

Please follow the guidance below to install php7.0-pgsql on Debian 12 (Bookworm)

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

2. Uninstall "php7.0-pgsql" package

This tutorial shows how to uninstall php7.0-pgsql on Debian 12 (Bookworm):

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

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

Package: php7.0-pgsql
Source: php7.0
Version: 7.0.33-68+0~20230905.83+debian12~1.gbp571a08
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 216
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+0~20230905.83+debian12~1.gbp571a08), libc6 (>= 2.14), libpq5 (>= 9.3~)
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.33-68+0~20230905.83+debian12~1.gbp571a08_amd64.deb
Size: 55940
SHA256: 090581e5a0b9aef2ec32ff6d54c6da04ceeb5dffd21d28c8a5ebfc14a864e081
SHA1: bcf5d7bdb18a08ed35b3b0c68a4e4a46f5a69dd4
MD5sum: 6d39c68d7143174d468c2e37b40521be
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