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

Last updated: November 08,2024

1. Install "php8.1-pgsql" package

This is a short guide on how to install php8.1-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-pgsql" package

This tutorial shows how to uninstall php8.1-pgsql on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.1-pgsql
Source: php8.1
Priority: optional
Section: php
Installed-Size: 228
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.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.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php8.1/php8.1-pgsql_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 59204
MD5sum: ff3a6800596158537aa3186ef7ed0377
SHA1: 7e6374e6d640009e5789679ba5e48a77b925fc3e
SHA256: ed7d5b544960d01499bc61220ef1aa7af09dfc02ac4abfda2fd09bdd36e5c3fb
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6