How to Install and Uninstall php-pgsql Package on Linux Mint 21 (Vanessa)

Last updated: December 29,2024

1. Install "php-pgsql" package

This guide covers the steps necessary to install php-pgsql on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install php-pgsql

2. Uninstall "php-pgsql" package

This is a short guide on how to uninstall php-pgsql on Linux Mint 21 (Vanessa):

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

3. Information about the php-pgsql package on Linux Mint 21 (Vanessa)

Package: php-pgsql
Source: php-defaults (94+ubuntu22.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2
Depends: php-common, php8.3-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7234
MD5sum: bf819e46359241a002493b6e350d6338
SHA1: 0e005a0241abecbafd28c9d9cfb20e902e13b2b9
SHA256: e65384a15316a311710a70d53d1dcfabdfb83e29028ed7a376fd6424ff29f5c9
Description: PostgreSQL module for PHP [default]
Description-md5: e5da12430337a68eb7d6e3a708facbce

Package: php-pgsql
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php-common, php8.1-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.1+92ubuntu1_all.deb
Size: 1838
MD5sum: 16658193e2b6f0a119d22f1d4d0d06f5
SHA1: 1e97018926f2fb9be7b36dca31c5939757c23502
SHA256: d8678d72953333cbb383b9d850fe3975c5c5f04ff6bf3dd221aa366265fbac20
SHA512: d61e46683a94834f39f68de31927a0cdaeb35021acf9342c7c05e14b9a6efe4a815d280845e97763b493c68791d4e704f9a0fdc79f12b878ca25a600cfbae453
Description: PostgreSQL module for PHP [default]
Description-md5: 6b8eed5108325175d3a8cde2aae5a707