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

Last updated: December 23,2024

1. Install "php5.6-gd" package

Please follow the guidance below to install php5.6-gd on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php5.6-gd" package

This guide covers the steps necessary to uninstall php5.6-gd on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

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+ubuntu22.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php5.6-common (= 5.6.40-68+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 33296
MD5sum: 02a68b3a3cf18ee1cb754a3606f4641b
SHA1: 64c986fe0f3846c7517911b9cfadd32a7b301b6e
SHA256: 0a621766fbc529475032a3e99e2fd994cf2c484626cef6544bd9289ccf10a86e
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af