How to Install and Uninstall php-pgsql Package on Debian 10 (Buster)

Last updated: November 07,2024

1. Install "php-pgsql" package

In this section, we are going to explain the necessary steps to install php-pgsql on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-pgsql

2. Uninstall "php-pgsql" package

Please follow the steps below to uninstall php-pgsql on Debian 10 (Buster):

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

3. Information about the php-pgsql package on Debian 10 (Buster)

Package: php-pgsql
Source: php-defaults (92+0~20220117.43+debian10~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-pgsql
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-pgsql_8.1+92+0~20220117.43+debian10~1.gbpe0d14e_all.deb
Size: 7420
SHA256: e2cef28462a22bbc947b095a4fb8da3c57741cd87fc4433df4cb5566710703e2
SHA1: ec069ea5d77184bd688db21c2ea4af0c2fe0a828
MD5sum: 0acbeb27565233d33ae873588f1c66e9
Description: 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.1).
Description-md5: 6b8eed5108325175d3a8cde2aae5a707

Package: php-pgsql
Source: php-defaults (69)
Version: 2:7.3+69
Installed-Size: 12
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.3-pgsql
Description: PostgreSQL module for PHP [default]
Description-md5: f939763cb4bdc3502e3d683d644abd11
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-pgsql_7.3+69_all.deb
Size: 5996
MD5sum: fd051f9b9f5e5fe0c1a264df6706dad0
SHA256: a0bae9b21d9f70f236c28dd182150a22e1e0f2b7d89850292f87faef3848af4e