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

Last updated: December 28,2024

1. Install "php7.1-pgsql" package

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

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

2. Uninstall "php7.1-pgsql" package

In this section, we are going to explain the necessary steps to uninstall php7.1-pgsql on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php7.1-pgsql
Source: php7.1
Priority: optional
Section: php
Installed-Size: 212
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-37+ubuntu16.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.1-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-37+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.1/php7.1-pgsql_7.1.33-37+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 56766
MD5sum: c72e08b257c94330e05926cdb1c8cf52
SHA1: 6737545e9600a7221fa83a5dead252157133fa8c
SHA256: 6b913e469c0438cafe3ba7e6edd7780414136693873ccbeec2f1850f8878f3e6
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