How to Install and Uninstall php7.4-gd Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: June 25,2024

1. Install "php7.4-gd" package

This guide let you learn how to install php7.4-gd on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.4-gd" package

Please follow the guidance below to uninstall php7.4-gd on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.4-gd package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.4-gd
Source: php7.4
Priority: optional
Section: php
Installed-Size: 132
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1)
Filename: pool/main/p/php7.4/php7.4-gd_7.4.30-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 27280
MD5sum: 2a0acbc8b513f4e0149d996e105cda32
SHA1: 80bb9a3d0d3c8c1c1ff107613bfa3862f9500418
SHA256: 7e1d39c2b9693910edc5d73a9f03d2376836e82ce39d3aa4ea4be85e836f66be
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af