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

Last updated: December 26,2024

1. Install "php7.1-pgsql" package

This is a short guide on how to install php7.1-pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-pgsql" package

Please follow the guidelines below to uninstall php7.1-pgsql on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.1-pgsql
Source: php7.1
Priority: optional
Section: php
Installed-Size: 212
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-48+ubuntu18.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.1-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-48+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.1/php7.1-pgsql_7.1.33-48+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 57564
MD5sum: 3e253a9eb0d189aefaf594f34a072d18
SHA1: 83212462fcb6788326f6d8b4d0d5348ca57b242c
SHA256: 05b738b771e2e998c0785d47764ff2eabf16689e393bf0638404d5b7754ab800
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6