How to Install and Uninstall php7.2-pgsql Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 08,2024
1. Install "php7.2-pgsql" package
This tutorial shows how to install php7.2-pgsql on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php7.2-pgsql
Copied
2. Uninstall "php7.2-pgsql" package
Please follow the instructions below to uninstall php7.2-pgsql on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php7.2-pgsql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2-pgsql package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php7.2-pgsql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 56180
MD5sum: 1ac707c8ad1a20cee9dc3eeeab2b6cb8
SHA1: eeb88f46d9c92fdee8d81090e4b4f1c25d1dc61d
SHA256: 94c8d90279618e0156b0252e34e18c2b6afe41e007cd398036f310cb61cbff4c
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Source: php7.2
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 56180
MD5sum: 1ac707c8ad1a20cee9dc3eeeab2b6cb8
SHA1: eeb88f46d9c92fdee8d81090e4b4f1c25d1dc61d
SHA256: 94c8d90279618e0156b0252e34e18c2b6afe41e007cd398036f310cb61cbff4c
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6