How to Install and Uninstall php7.2-pgsql Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 23,2024

1. Install "php7.2-pgsql" package

Please follow the guidance below to install php7.2-pgsql on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.2-pgsql" package

Please follow the step by step instructions below to uninstall php7.2-pgsql on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-pgsql package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-pgsql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 208
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-21+ubuntu16.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-21+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-21+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 54774
MD5sum: 99135003b936560ccb84112b140749bb
SHA1: aa37233c370ef329f9f109a9f6af3dae1137b163
SHA256: a789981bb628db768507e7ae66bfce735ef7489a46dd9652dd1a9e25df941ef5
Description-en: 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