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

Last updated: November 08,2024

1. Install "php7.0-gd" package

This is a short guide on how to install php7.0-gd on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.0-gd" package

Here is a brief guide to show you how to uninstall php7.0-gd on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.0-gd
Source: php7.0
Priority: optional
Section: php
Installed-Size: 132
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-61+ubuntu18.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-61+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.0/php7.0-gd_7.0.33-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 27892
MD5sum: f1417beaf21eeaa967166c80b24109af
SHA1: 8be187ddc7777495c4ca88f57e62b23da5cb35b6
SHA256: 5347a79dab03e3b232ef4a7e40246e2327d708d1506533744b1268d2dbaaa167
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af