How to Install and Uninstall php7.4-pgsql Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "php7.4-pgsql" package

Please follow the guidance below to install php7.4-pgsql on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.4-pgsql" package

Please follow the steps below to uninstall php7.4-pgsql on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.4-pgsql package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.4-pgsql
Source: php7.4
Priority: optional
Section: php
Installed-Size: 228
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu20.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.33-8+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.33-8+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 56868
MD5sum: b582331df578e0faa082140b38c29c16
SHA1: 08a322cc1c026a3f70508ec3c4101ea7ceefd084
SHA256: 419a294d3d226eea9b3b523d83c5b06a65d084ae29b81b349a0d5cef543e6c1a
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6

Package: php7.4-pgsql
Architecture: amd64
Version: 7.4.3-4ubuntu2.19
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 228
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu2.19), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.3-4ubuntu2.19_amd64.deb
Size: 56996
MD5sum: e1a00efab32f67315b721166994c71a2
SHA1: 1cffdc1f36f216973c534528aaafe832b0e560bb
SHA256: 5102d7907db78100eebb52d712f507bc918311306d2c0a900c4d81acaccbb966
SHA512: ffca26423552bbdd1a3fc356569e4eb4bdd4a16a1d6b7c94edb9d62cf722957939298a8400b1b9b6df0e075ea99958693037a720f0669ceaa54a795e3bdd6604
Homepage: http://www.php.net/
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6

Package: php7.4-pgsql
Architecture: amd64
Version: 7.4.3-4ubuntu1
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 228
Provides: php-pdo-pgsql, php-pgsql, php7.4-pdo-pgsql
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu1), libc6 (>= 2.14), libpq5 (>= 9.3~)
Filename: pool/main/p/php7.4/php7.4-pgsql_7.4.3-4ubuntu1_amd64.deb
Size: 56912
MD5sum: 4dd9a15760c7d5b22aa61c1498518c05
SHA1: 43c4f5419c2623d430d6b8e70028e917a6cbd0f8
SHA256: b8a6ca18edf133854c341a38708ff636494ae3ee1f8282044f1adacb5c8f051c
Homepage: http://www.php.net/
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6