How to Install and Uninstall php7.4-pgsql Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: January 24,2025
Notice
You can also install and uninstall the php7.4-pgsql on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php7.4-pgsql" package
This guide covers the steps necessary to install php7.4-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.4-pgsql
Copied
2. Uninstall "php7.4-pgsql" package
This tutorial shows how to uninstall php7.4-pgsql on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.4-pgsql
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.4-pgsql package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.4-pgsql
Source: php7.4
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu22.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+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 61558
MD5sum: 335cd39c936f0adf1efe05a86a89f01b
SHA1: 8c7a87e850a41675b00f750bb240a1837c30ca44
SHA256: ffe746d183ada33fe3cc8172a3803de575fb8d9df097c242b5e23f806ac18bdc
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6
Source: php7.4
Priority: optional
Section: php
Installed-Size: 224
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu22.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+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 61558
MD5sum: 335cd39c936f0adf1efe05a86a89f01b
SHA1: 8c7a87e850a41675b00f750bb240a1837c30ca44
SHA256: ffe746d183ada33fe3cc8172a3803de575fb8d9df097c242b5e23f806ac18bdc
Description: PostgreSQL module for PHP
Description-md5: e20af8e9fbc873e9bd5a36fc03e72ee6