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

Last updated: December 26,2024

1. Install "php7.1-pgsql" package

Please follow the guidance below to install php7.1-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-pgsql" package

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

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

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

Package: php7.1-pgsql
Source: php7.1
Priority: optional
Section: php
Installed-Size: 232
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.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-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.1/php7.1-pgsql_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 57948
MD5sum: b67b0edf32924aca27bf5a5b8660dd3d
SHA1: c13b468c61940b08f3d94244faafb63fea97646d
SHA256: 959d9fb6016c3f5d70bbcb28e2da37ae96138a61ee929e75611d758d5fe7c3cd
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6