How to Install and Uninstall php-gd Package on Debian 10 (Buster)

Last updated: November 07,2024

1. Install "php-gd" package

This is a short guide on how to install php-gd on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-gd

2. Uninstall "php-gd" package

Learn how to uninstall php-gd on Debian 10 (Buster):

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

3. Information about the php-gd package on Debian 10 (Buster)

Package: php-gd
Source: php-defaults (92+0~20220117.43+debian10~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-gd
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-gd_8.1+92+0~20220117.43+debian10~1.gbpe0d14e_all.deb
Size: 7416
SHA256: 8081709a91601480e0195354aa214e1e0979ede85a6ba49ee05acf0b8fea6dd7
SHA1: e05a4d9f7392f53b42248673023624c8cf046c7f
MD5sum: abe79b829ae6ad7d1f58a6424c01c24f
Description: GD module for PHP [default]
This package provides a GD module 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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.1).
Description-md5: 562eee803f143cd17db5ced34b79b558

Package: php-gd
Source: php-defaults (69)
Version: 2:7.3+69
Installed-Size: 12
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.3-gd
Description: GD module for PHP [default]
Description-md5: dab52b209fb47231f9669bdcdf8066fe
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-gd_7.3+69_all.deb
Size: 5984
MD5sum: f579f3b6a97288123018d3a4dfba82a9
SHA256: 4c268cb82f18d1dfc6cae88f0a8b5c6291dab0518899787ca77da85ee3a6d6c4