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

Last updated: November 26,2024

1. Install "php7.2-gd" package

Please follow the instructions below to install php7.2-gd on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-gd" package

This tutorial shows how to uninstall php7.2-gd on Debian 12 (Bookworm):

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

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

Package: php7.2-gd
Source: php7.2
Version: 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 136
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+0~20230902.90+debian12~1.gbpc2a431), 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.2/php7.2-gd_7.2.34-43+0~20230902.90+debian12~1.gbpc2a431_amd64.deb
Size: 27616
SHA256: c67c4a89b713ca735cefe8db0676f403edd8e1d012f17d5849afb1f0994d121d
SHA1: a5b336281b626dd2f2588e2e535e1666f0715a4a
MD5sum: 10aa8ab9bce708fcbf1486b29dd74822
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