How to Install and Uninstall php8.2-gd Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 21,2024

1. Install "php8.2-gd" package

This tutorial shows how to install php8.2-gd on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.2-gd

2. Uninstall "php8.2-gd" package

Please follow the instructions below to uninstall php8.2-gd on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.2-gd $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-gd package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.2-gd
Source: php8.2
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.15-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.15-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Filename: pool/main/p/php8.2/php8.2-gd_8.2.15-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 28776
MD5sum: e7927700324207fc64d21e858ab992d8
SHA1: 8ff3f0d18a25c5b9ab3d7716548aaaa537cfec41
SHA256: 5533bb1cf1297e5e8e88fde51bc319280066e90e95f6c1bb92e1ece2cfb634cd
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af