How to Install and Uninstall php-pgsql Package on Linux Mint 20.3 (Una)

Last updated: May 10,2024

1. Install "php-pgsql" package

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

$ sudo apt update $ sudo apt install php-pgsql

2. Uninstall "php-pgsql" package

In this section, we are going to explain the necessary steps to uninstall php-pgsql on Linux Mint 20.3 (Una):

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

3. Information about the php-pgsql package on Linux Mint 20.3 (Una)

Package: php-pgsql
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.1-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7296
MD5sum: 5fce3f49d921be3c37726f5f1f65abb1
SHA1: e37366c1b46b30549ddcf6cb20f0e4b111ac98dc
SHA256: 9d1929dc3685bf1e9cc482eb4c26a055657ee824d8d318706f99c163867e9095
Description: PostgreSQL module for PHP [default]
Description-md5: 6b8eed5108325175d3a8cde2aae5a707

Package: php-pgsql
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php7.4-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_7.4+75_all.deb
Size: 2008
MD5sum: 0097788d5c4972f5e1bf8a04ebdf2b02
SHA1: f39ec7a4a3beb592e07fb4bb7425d30cadd68494
SHA256: 3d825273ca396ef83ee0d546d1520cfa54df7be871df5f0161b389bb7904c13c
Description: PostgreSQL module for PHP [default]
Description-md5: 5fcbcc736e803e8055f7a71eb10c2f96