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

Last updated: July 02,2024

1. Install "php7.0-pgsql" package

Please follow the step by step instructions below to install php7.0-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-pgsql" package

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

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

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

Package: php7.0-pgsql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 228
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 57352
MD5sum: 51ba591a7414ff80da59537857c4070a
SHA1: 5610e084594323784f9c16faf73e08ae2a8e68dc
SHA256: 418db060932a744834ef9f043b7c6ea40a64cb832788a5d96a84d134f7265e2c
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6