How to Install and Uninstall php-pgsql Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: September 20,2024

1. Install "php-pgsql" package

Please follow the steps below to install php-pgsql on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-pgsql

2. Uninstall "php-pgsql" package

Please follow the guidelines below to uninstall php-pgsql on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-pgsql package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-pgsql
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.2-pgsql
Filename: pool/main/p/php-defaults/php-pgsql_8.2+93ubuntu1_all.deb
Size: 1842
MD5sum: e0f99eced02d6f583fd882e4d30aab76
SHA1: ea55475112747a97b186d8070aeb0ae58604b907
SHA256: f929e9722e9da84d70ea7a50928dd654c16d6f6912fde04eebf34b8a723e5e8e
SHA512: 60350e4ee4d2091f25de0ac993bbbee2398a242bdca80ccb398e4bff2f23e0b24e40550cd7281049df475d69de42d4d32d567fef162b723d4b900011223ee94f
Description: PostgreSQL module for PHP [default]
Description-md5: e91462ace4aecc92e622fe97cf12438e