How to Install and Uninstall php5.6-pgsql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "php5.6-pgsql" package

Please follow the guidance below to install php5.6-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php5.6-pgsql" package

This guide covers the steps necessary to uninstall php5.6-pgsql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php5.6-pgsql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php5.6-pgsql
Source: php5.6
Priority: optional
Section: php
Installed-Size: 228
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-68+ubuntu20.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-68+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php5.6/php5.6-pgsql_5.6.40-68+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 58528
MD5sum: a342d0dcd4c204fab1d1488838df3f79
SHA1: 8cc3416524728b4a1f1fc202440108875ae4897e
SHA256: e17807136d8a4f8d47df0d5d83e6b0577ae3070476feef39e060f059113aa795
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6