How to Install and Uninstall php8.1-gd Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 25,2024

1. Install "php8.1-gd" package

Please follow the steps below to install php8.1-gd on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-gd" package

This guide let you learn how to uninstall php8.1-gd on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php8.1-gd package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.1-gd
Source: php8.1
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Filename: pool/main/p/php8.1/php8.1-gd_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 28552
MD5sum: 4a819206aef500f87e0e5652ad8b657d
SHA1: 709fc0be34417ff791b0b07b2f1c5c3b238b9a83
SHA256: 51f46bf7c969b6512c4e9d140d94ca8172671f93cf29a8765849d4055f42af57
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af