How to Install and Uninstall php7.0-gd Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 20,2024

1. Install "php7.0-gd" package

This guide covers the steps necessary to install php7.0-gd on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.0-gd" package

Please follow the guidance below to uninstall php7.0-gd on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.0-gd package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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+ubuntu22.04.1+deb.sury.org+2
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu22.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+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 31898
MD5sum: 912bfc0652d6dbf2a7e546db117a02e4
SHA1: e753f80ace623a3784f9a015de4a9a10058fba17
SHA256: 859e3d3c9ef63ad2969ce191c81d081d67dc1b569256a7506be2c54c9ceff33b
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af