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

Last updated: November 08,2024

1. Install "php7.2-gd" package

Please follow the guidelines below to install php7.2-gd on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.2-gd" package

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

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

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

Package: php7.2-gd
Source: php7.2
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.2/php7.2-gd_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 27664
MD5sum: 88a151b812ba71c9a77da17d46316525
SHA1: 86f8ca0cad503ce235f8414f91eac794e828ec99
SHA256: ccc19bb3dc10c229371f122da58951538b13f8362279cfdf9fd005970cab0ecf
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af