How to Install and Uninstall php5.6-pgsql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 25,2024

1. Install "php5.6-pgsql" package

Please follow the guidance below to install php5.6-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php5.6-pgsql" package

This is a short guide on how to uninstall php5.6-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php5.6-pgsql package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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+ubuntu22.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+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 65082
MD5sum: 1bbfbc6650ada46917e85522fa2d777d
SHA1: 199f52c705806bac90c142494867d2cd5c18ebb6
SHA256: cc30101fe53156a31b9c0716510f7fdd730d41d31e4e9dd720fa08636a765369
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6