How to Install and Uninstall php5.6-gd Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "php5.6-gd" package

This guide covers the steps necessary to install php5.6-gd on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php5.6-gd" package

In this section, we are going to explain the necessary steps to uninstall php5.6-gd on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php5.6-gd package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php5.6-gd
Source: php5.6
Priority: optional
Section: php
Installed-Size: 139
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-50+ubuntu16.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-50+ubuntu16.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-50+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 28640
MD5sum: 4f120147446fdef8701a7d6f6d13682d
SHA1: 66f879e49b0b3322a430a56ddb0a64e6359b83b5
SHA256: 07c547f67996219bff689616e658cd34eb37c4fe40d0ee112b834876d9a88786
Description-en: GD module for PHP
This package provides the GD module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af