How to Install and Uninstall php-gd Package on Linux Mint 21.3 (Virginia)

Last updated: November 07,2024

1. Install "php-gd" package

Please follow the guidelines below to install php-gd on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php-gd

2. Uninstall "php-gd" package

Please follow the guidance below to uninstall php-gd on Linux Mint 21.3 (Virginia):

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

3. Information about the php-gd package on Linux Mint 21.3 (Virginia)

Package: php-gd
Source: php-defaults (94+ubuntu22.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2
Depends: php-common, php8.3-gd
Filename: pool/main/p/php-defaults/php-gd_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7220
MD5sum: 9cd98f839ffd6ce0d32c83d8e4a8d8b3
SHA1: 833d77e522db0ba402d2522abf778fcc7815b584
SHA256: 29ce3fe8b2ad56e4d08c1bc45dab19136bade03191b068fafef1497d34b5f05d
Description: GD module for PHP [default]
Description-md5: edbd828845e5531d40229c6dfe58f84c

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