How to Install and Uninstall php7.2-pgsql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "php7.2-pgsql" package

This guide let you learn how to install php7.2-pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-pgsql" package

Here is a brief guide to show you how to uninstall php7.2-pgsql on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.2-pgsql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.2-pgsql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 208
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.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-33+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 55948
MD5sum: 8adcb0c7605de306377b233f18a9e5ac
SHA1: e7bba31b387fb72da84cff81444348c50ba60963
SHA256: 10abefdac67ee8271f4372a316b27c390428efa73080c9a9c37be9598b6c9ce1
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6

Package: php7.2-pgsql
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 207
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 55816
MD5sum: f3470b82e1465e1f534f724a94295610
SHA1: d9cbefea76b46a3e6cf75ce6cb5bcb3c4592bbdd
SHA256: 23def7fd29490dad0969a6e24c1b2b330edb8a959e404463e9abfa2d50d80041
SHA512: 6ddf54ca7014c3ea6bf6d016f87b139b04b6d40318efc65cdb5b494c5258f7e6df203aa83730fa6e6954ac16cfa103d208e4ec587202d466796a305b240a6a46
Homepage: http://www.php.net/
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Supported: 5y

Package: php7.2-pgsql
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 207
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.3-1ubuntu1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.3-1ubuntu1_amd64.deb
Size: 55404
MD5sum: c06132f8fb2a2725c989cee9f09dc470
SHA1: 5cb9e4ea2aa28201211a7627b704a255c017d7a0
SHA256: 415d37527021e8f967bd5aebd40b6d1727deb5656e8b70485c70a45106cb7ba8
Homepage: http://www.php.net/
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Supported: 5y