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

Last updated: December 26,2024

1. Install "php8.1-pgsql" package

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

$ sudo apt update $ sudo apt install php8.1-pgsql

2. Uninstall "php8.1-pgsql" package

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

$ sudo apt remove php8.1-pgsql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-pgsql package on Ubuntu 21.10 (Impish Indri)

Package: php8.1-pgsql
Source: php8.1
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.0-1+ubuntu21.10.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php8.1-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.0-1+ubuntu21.10.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php8.1/php8.1-pgsql_8.1.0-1+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 63918
MD5sum: 7e11dcf221ecd11b01167a384e6ce0ab
SHA1: 945dfbe990700dfa5fa5b67f26c4e9e7b3d216ef
SHA256: 7b92ebbeb9aef75b41b358edeab6ffee835cf41043e32629253bab28b6ce6e7b
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