How to Install and Uninstall php8.1-gd Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "php8.1-gd" package

This is a short guide on how to install php8.1-gd on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php8.1-gd" package

In this section, we are going to explain the necessary steps to uninstall php8.1-gd on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php8.1-gd package on Ubuntu 21.10 (Impish Indri)

Package: php8.1-gd
Source: php8.1
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.0-1+ubuntu21.10.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.0-1+ubuntu21.10.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1)
Filename: pool/main/p/php8.1/php8.1-gd_8.1.0-1+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 32824
MD5sum: eff83fcfa8e0f19dcb8a65b4c1ef8771
SHA1: aeab5bc54bc417bb6d82965569859f51a6c5b56e
SHA256: 813ef072df71a72786e4a57fe3d1c04813bbef563232b2d0570862d65b787557
Description-en: 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