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

Last updated: May 18,2024

1. Install "php7.1-gd" package

This guide covers the steps necessary to install php7.1-gd on Debian 12 (Bookworm)

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

2. Uninstall "php7.1-gd" package

Please follow the step by step instructions below to uninstall php7.1-gd on Debian 12 (Bookworm):

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

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

Package: php7.1-gd
Source: php7.1
Version: 7.1.33-56+0~20230904.88+debian12~1.gbp4cb5d3
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 136
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+0~20230904.88+debian12~1.gbp4cb5d3), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Provides: php-gd
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.1/php7.1-gd_7.1.33-56+0~20230904.88+debian12~1.gbp4cb5d3_amd64.deb
Size: 28172
SHA256: afbc366817f402a09758572f48465008e6eb4030b2db42c52e3f9f349b369684
SHA1: 2541d7280790c7dd9e66a29da248f5f9cec1b79b
MD5sum: 904bcdf7f619a23c5b013252eef2d44b
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