How to Install and Uninstall php8.2-pgsql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: September 16,2024

1. Install "php8.2-pgsql" package

Please follow the steps below to install php8.2-pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.2-pgsql" package

In this section, we are going to explain the necessary steps to uninstall php8.2-pgsql on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.2-pgsql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.2-pgsql
Source: php8.2
Priority: optional
Section: php
Installed-Size: 216
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.0~beta2-1+ubuntu18.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.0~beta2-1+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php8.2/php8.2-pgsql_8.2.0~beta2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 57928
MD5sum: 5d80ae86786a9cc0ec2e41923f936826
SHA1: 71e4e037c6df2e2d0e02d6d496c6e2b05bf35ffb
SHA256: 5e9baf8dd46f2cb8e36b7153be74c8dc8ba5ce5fecb2d5d3f8f75705da19e44b
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6