How to Install and Uninstall php-gd Package on Kali Linux

Last updated: December 23,2024

1. Install "php-gd" package

This is a short guide on how to install php-gd on Kali Linux

$ sudo apt update $ sudo apt install php-gd

2. Uninstall "php-gd" package

Here is a brief guide to show you how to uninstall php-gd on Kali Linux:

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

3. Information about the php-gd package on Kali Linux

Package: php-gd
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-gd
Size: 3648
SHA256: adce409a98adb466f164f624e1c3238b222d973fd76a8f34a14c504d628e35cc
SHA1: 18227cf9ca870908db768e000db60db6fa25adc0
MD5sum: 93bb376f5c197c5e57e2f31312d29eb9
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.2).
Description-md5:
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-gd_8.2+93_all.deb