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

Last updated: July 05,2024

1. Install "php7.0-gd" package

This is a short guide on how to install php7.0-gd on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-gd" package

This guide let you learn how to uninstall php7.0-gd on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.0-gd
Source: php7.0
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.0/php7.0-gd_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 28156
MD5sum: 0a60584349bc8dc0d8a11c612db2f632
SHA1: 0b2be544ed91b6aacbdb72720ace04076c214a25
SHA256: 6cfabc70f3c94c81c7aa814663ce17b5f7006232a0783dc6e090cf6343ca3d91
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af