How to Install and Uninstall php7.0-pgsql Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 21,2024

1. Install "php7.0-pgsql" package

This guide covers the steps necessary to install php7.0-pgsql on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.0-pgsql" package

Here is a brief guide to show you how to uninstall php7.0-pgsql on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.0-pgsql package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.0-pgsql
Architecture: amd64
Version: 7.0.33-0ubuntu0.16.04.16
Priority: optional
Section: php
Source: php7.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 211
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Depends: php-common (>= 1:33), ucf, php7.0-common (= 7.0.33-0ubuntu0.16.04.16), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.33-0ubuntu0.16.04.16_amd64.deb
Size: 55976
MD5sum: 6ff81a5cbcba7b1fe7aa981d1b40c591
SHA1: 617d07ac9e5fcb53ddb976197c3c98ba2926eb98
SHA256: 4090043f09ef07a13e2f90e30ed69ec51030343d588fb2f1448e4fe811670e77
SHA512: 2c7dab48fef2d56070ed10dced2cd17cd02a118e1882259f12f45b9dfc994ada86f45d209d1594224af822f8ee502f4edde74543e90a572170796970ce7006e1
Homepage: http://www.php.net/
Description-en: PostgreSQL module for PHP
This package provides the PostgreSQL module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Supported: 5y

Package: php7.0-pgsql
Priority: optional
Section: php
Installed-Size: 207
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: amd64
Source: php7.0
Version: 7.0.4-7ubuntu2
Provides: php-pdo-pgsql, php-pgsql, php7.0-pdo-pgsql
Depends: php-common (>= 1:33), ucf, php7.0-common (= 7.0.4-7ubuntu2), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.0/php7.0-pgsql_7.0.4-7ubuntu2_amd64.deb
Size: 55118
MD5sum: db7c1a71140db7025552c6aa7290fc40
SHA1: a46e9817f5022a5449c60b73262aeb0ea128a500
SHA256: 2b8901e025cda852a862ce4106145a3829bfad1e71fc671d25f2aa4367403190
Description-en: PostgreSQL module for PHP
This package provides the PostgreSQL module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Homepage: http://www.php.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y