How to Install and Uninstall php8.2-pgsql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 24,2024

1. Install "php8.2-pgsql" package

Please follow the guidelines below to install php8.2-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.2-pgsql" package

This guide covers the steps necessary to uninstall php8.2-pgsql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php8.2-pgsql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.2-pgsql
Source: php8.2
Priority: optional
Section: php
Installed-Size: 228
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.15-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php8.2-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.15-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php8.2/php8.2-pgsql_8.2.15-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 59296
MD5sum: 1e1f1fad22d0b6dc4ebf2cbc74375e84
SHA1: abc0a0c64c8c230790275ed95c9b0ed492e28fcf
SHA256: 5e115b93c4fce96b5aed8b0b4bbde335c0126739ced72a8017ef6a10b703668a
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6