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

Last updated: November 23,2024

1. Install "php5.6-pgsql" package

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

$ 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 18.04 LTS (Bionic Beaver):

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

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

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