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

Last updated: December 23,2024

1. Install "php8.1-gd" package

This is a short guide on how to install php8.1-gd on Debian 12 (Bookworm)

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

2. Uninstall "php8.1-gd" package

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

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

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

Package: php8.1-gd
Source: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 136
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Provides: php-gd
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.1/php8.1-gd_8.1.27-1+0~20231221.58+debian12~1.gbp3895b2_amd64.deb
Size: 28652
SHA256: b56392426401247ba9d79443a64d9d2f72a93541410a2a782c66146d938a2537
SHA1: 7e9efe1568148b6cc57e9efdcc83a61e08f63d03
MD5sum: 5ff0485472a313c6beb881fa89f83ddf
Description: GD module for PHP
This package provides the GD module(s) for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af