How to Install and Uninstall php-gd Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 18,2024

1. Install "php-gd" package

Learn how to install php-gd on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-gd

2. Uninstall "php-gd" package

This guide let you learn how to uninstall php-gd on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove php-gd $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-gd package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-gd
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php-common, php8.1-gd
Filename: pool/main/p/php-defaults/php-gd_8.1+92ubuntu1_all.deb
Size: 1828
MD5sum: 2e6a00cb8127dc1549fe8439c65ffaea
SHA1: 25beb2a45c893993146f47c4400a93e0b547cc51
SHA256: b68c97ad67747e52c0aeeb87bba6f83519b09a624b71dfa729b2f87b46053483
SHA512: 663e55bfe756baef223df8f684553dc3a325a1b38bb3d141e6ddc54f45702196f364aa02373ed407e986f8e9adc09713f6693e7c913407598a7b749a356bcb16
Description: GD module for PHP [default]
Description-md5: 562eee803f143cd17db5ced34b79b558