How to Install and Uninstall php-pgsql Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "php-pgsql" package

This guide let you learn how to install php-pgsql on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-pgsql

2. Uninstall "php-pgsql" package

Here is a brief guide to show you how to uninstall php-pgsql on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-pgsql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-pgsql package on Ubuntu 21.10 (Impish Indri)

Package: php-pgsql
Source: php-defaults (85+ubuntu21.10.1+deb.sury.org+1)
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.0+85+ubuntu21.10.1+deb.sury.org+1
Depends: php-common, php8.0-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.0+85+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 6962
MD5sum: 1b81ec2176aad2fe403667a3ac251ed1
SHA1: 506288e783d40954dbac3c32f144aae8594ac6a2
SHA256: dde2b57ed7ef4358917381a91bf26f5a578498a7f518e3bc270ebd1e61fe2ffb
Description-en: PostgreSQL module for PHP [default]
This package provides a PostgreSQL module 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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.0).
Description-md5: 9038053a26e76ece86c80e4680396532

Package: php-pgsql
Architecture: all
Version: 2:8.0+82~0build1
Priority: optional
Section: php
Source: php-defaults (82~0build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php8.0-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.0+82~0build1_all.deb
Size: 2020
MD5sum: 5cc5f178eb95f82e25fecc4f42b793e6
SHA1: 2e1b9c23dc3853527da8f62283e6f99104e938f6
SHA256: b9616442ff4cd965813ad1149baa118a9609b6e81b4ac01dc4b582fc3e0f50d0
SHA512: 84ac494a5ed4462b732035c4428aa45596195f7177fb32ff191073835e1bc7374ae40563cb2cafcfad764b765ae5e4ee6d6647ac6940015e0bb79d881b28d4a2
Description-en: PostgreSQL module for PHP [default]
This package provides a PostgreSQL module 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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.0).
Description-md5: 9038053a26e76ece86c80e4680396532