How to Install and Uninstall php7.4-pgsql Package on Ubuntu 21.10 (Impish Indri)

Last updated: June 26,2024

1. Install "php7.4-pgsql" package

This guide covers the steps necessary to install php7.4-pgsql on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.4-pgsql" package

Please follow the instructions below to uninstall php7.4-pgsql on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.4-pgsql package on Ubuntu 21.10 (Impish Indri)

Package: php7.4-pgsql
Source: php7.4
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.4.26-1+ubuntu21.10.1+deb.sury.org+2
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 7.4.26-1+ubuntu21.10.1+deb.sury.org+2), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.26-1+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 62010
MD5sum: c00c3cc112b1360d764a6d4b6893d1f2
SHA1: 9fb303610188c77c53a6fdfe1054bae852789508
SHA256: 09e876f3d41c7d9feafa5d1c2af6ef8e8e5fe0ff030d0f2d850fdd5207893834
Description-en: PostgreSQL module for PHP
This package provides the PostgreSQL module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6