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

Last updated: November 26,2024

1. Install "php5.6-gd" package

Please follow the instructions below to install php5.6-gd on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php5.6-gd" package

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

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

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

Package: php5.6-gd
Source: php5.6
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-61+ubuntu18.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-61+ubuntu18.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-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 29096
MD5sum: 3f9f6059f5d6ba05dc1cfcf7b0df3947
SHA1: da3494d2dc6fd3f0d1f75adda2b140a9ca85a908
SHA256: 31059ce94f8ff098303d4c716874cfd76c0a9561af0ba1763dd43b4b1041d1d4
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af