How to Install and Uninstall php-gd Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 17,2024

1. Install "php-gd" package

Please follow the step by step instructions below to install php-gd on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-gd

2. Uninstall "php-gd" package

Learn how to uninstall php-gd on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-gd package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-gd
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: php-common, php8.2-gd
Filename: pool/main/p/php-defaults/php-gd_8.2+93ubuntu1_all.deb
Size: 1832
MD5sum: de044fa86960c7ffa10fa84fda6a2ed2
SHA1: bc6094cbf0e491cf8d0998955f2194252eb0cea1
SHA256: ddf17c281f6a34ab30fc344657f03fede145ba5954460a7d663297b3ac2df57b
SHA512: bd0ae4e642659556240bfe1b80a8a831f006a0b8e29d069ebe15d3e4349fd53476fdbd3d59e8c4948414f4e9c7713d82951bca89fb29abb21d4f327f84b0062d
Description: GD module for PHP [default]
Description-md5: 63f8d60b9352e72ef3736673be60b9a2