How to Install and Uninstall php7.4-pgsql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 26,2024

1. Install "php7.4-pgsql" package

This is a short guide on how to install php7.4-pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php7.4-pgsql

2. Uninstall "php7.4-pgsql" package

Here is a brief guide to show you how to uninstall php7.4-pgsql on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php7.4-pgsql $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4-pgsql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.4-pgsql
Source: php7.4
Priority: optional
Section: php
Installed-Size: 208
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.30-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 56148
MD5sum: f6b824218e7ca7ac4e20e175f84d8e33
SHA1: 5ace40fbf0226e921f64051c3114aa07304b776f
SHA256: 8c031afeaf450e65e7534faed2216f9518bb7ba728644f8ddcfbb10f63941196
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6