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

Last updated: April 20,2024

1. Install "php8.0-pgsql" package

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

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

2. Uninstall "php8.0-pgsql" package

Please follow the instructions below to uninstall php8.0-pgsql on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.0-pgsql
Source: php8.0
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:8.0.30-2+ubuntu20.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php8.0-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php8.0-common (= 1:8.0.30-2+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php8.0/php8.0-pgsql_8.0.30-2+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 56996
MD5sum: 68063900225ea62f8ec51426821b96d5
SHA1: c35114775d0903a23e581d67404769d65293dc23
SHA256: d6e8aca88150a239811bb49504685675a360fe5482aeae9f3dbcce29ad83cc23
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6