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

Last updated: November 23,2024

1. Install "php7.0-pgsql" package

Please follow the guidelines below to install php7.0-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.0-pgsql" package

This tutorial shows how to uninstall php7.0-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php7.0-pgsql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 62428
MD5sum: 04372f7eab87bd348d057fccb4773c86
SHA1: 2c2ef0ced4234cf6c009cdd4b2669fc467a407aa
SHA256: cdfc7484c56d60c0186911bcce9e82cbe322e293b232ab484fc6b227d87eb9b0
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6