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

Last updated: November 23,2024

1. Install "php5.6-pgsql" package

This is a short guide on how to install php5.6-pgsql on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php5.6-pgsql

2. Uninstall "php5.6-pgsql" package

Please follow the steps below to uninstall php5.6-pgsql on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove php5.6-pgsql $ sudo apt autoclean && sudo apt autoremove

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

Package: php5.6-pgsql
Source: php5.6
Priority: optional
Section: php
Installed-Size: 216
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-50+ubuntu16.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php5.6-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-50+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php5.6/php5.6-pgsql_5.6.40-50+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 58490
MD5sum: 299dd9e844162823935574c935315e8a
SHA1: 167a607f0d5a95e661ff9a95211c82e7b8e8897c
SHA256: 6a11ff70c70a858eb47c60c749e160261b27d67bb1826dd3d86873d9fd92b96a
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