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

Last updated: November 08,2024

1. Install "php7.0-pgsql" package

Please follow the guidance below to install php7.0-pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.0-pgsql" package

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

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

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

Package: php7.0-pgsql
Source: php7.0
Priority: optional
Section: php
Installed-Size: 212
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-61+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 57192
MD5sum: a83839aac3b463f6690b48f42a1c006f
SHA1: a3c45d15a303d9ad463d8295d48b18d0f102a41f
SHA256: c08763599955c0fafaf91aebe9aa87e27167c6b9d07550d5ed1515284fafb78a
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6