How to Install and Uninstall php8.2-gd Package on Debian 12 (Bookworm)

Last updated: December 27,2024

1. Install "php8.2-gd" package

This tutorial shows how to install php8.2-gd on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php8.2-gd

2. Uninstall "php8.2-gd" package

Please follow the steps below to uninstall php8.2-gd on Debian 12 (Bookworm):

$ sudo apt remove php8.2-gd $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-gd package on Debian 12 (Bookworm)

Package: php8.2-gd
Source: php8.2
Version: 8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 136
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Provides: php-gd
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.2/php8.2-gd_8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3_amd64.deb
Size: 28832
SHA256: d5099aad5dfb0c1d5e1f0f7654b844b8adcad891a8dcc85439fbe9d2066a75c2
SHA1: 409d189adf92c4c0c844a6e951ab76dbcea7bfb1
MD5sum: 91327b9aaae9c683b1283bd5cc86ce51
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af

Package: php8.2-gd
Source: php8.2
Version: 8.2.7-1~deb12u1
Installed-Size: 136
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.7-1~deb12u1), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.2/php8.2-gd_8.2.7-1~deb12u1_amd64.deb
Size: 28612
MD5sum: 7a859d4be3a5c07e0d88276bd29b106a
SHA256: 87adb9fd76add58633092343163ea73a7d493a3f5607a6922e50dd4e3fda9cb3