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

Last updated: November 22,2024

1. Install "php7.2-pgsql" package

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

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

2. Uninstall "php7.2-pgsql" package

Here is a brief guide to show you how to uninstall php7.2-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php7.2-pgsql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 220
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.2-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 61276
MD5sum: fc737a0f10399d05a47cb14bf8e89d5e
SHA1: f57a520a67717587e5dfa23cc67f39846797a8c7
SHA256: f34c8064352d642c8bac3af94317ecfe100311525bf4d6aa00a8e6de18e2f723
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6