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

Last updated: November 26,2024

1. Install "php5.6-gd" package

This tutorial shows how to install php5.6-gd on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php5.6-gd

2. Uninstall "php5.6-gd" package

Please follow the guidance below to uninstall php5.6-gd on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php5.6-gd $ sudo apt autoclean && sudo apt autoremove

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

Package: php5.6-gd
Source: php5.6
Priority: optional
Section: php
Installed-Size: 148
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-68+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-68+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php5.6/php5.6-gd_5.6.40-68+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 29164
MD5sum: 79b3268bab8a5b463fe52acabf99963c
SHA1: 95d7d58ff26d2491f7504e34c9be5f0e326cca2f
SHA256: 6295e65a517875e40127e33ed9392af16577df164e7f4cd1b1873ad91f54ce74
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af