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

Last updated: November 23,2024

1. Install "php7.2-pgsql" package

This tutorial shows how to install php7.2-pgsql on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.2-pgsql" package

This is a short guide on how to uninstall php7.2-pgsql on Ubuntu 21.10 (Impish Indri):

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

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

Package: php7.2-pgsql
Source: php7.2
Priority: optional
Section: php
Installed-Size: 220
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-28+ubuntu21.10.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-28+ubuntu21.10.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.2/php7.2-pgsql_7.2.34-28+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 61232
MD5sum: ad728d7bb140a8774c323e1de6b5ede7
SHA1: ef6349bca863ffc314b5d046a0666be50e931b44
SHA256: 8fb2c546a08a03a7ab068bc67c1f9413da3bc103e9d532d3cb800109a722df9b
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