How to Install and Uninstall php8.1-gd Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: June 03,2024

1. Install "php8.1-gd" package

Please follow the guidelines below to install php8.1-gd on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.1-gd" package

Please follow the instructions below to uninstall php8.1-gd on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.1-gd package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.1-gd
Source: php8.1
Priority: optional
Section: php
Installed-Size: 132
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.9-1+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Filename: pool/main/p/php8.1/php8.1-gd_8.1.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 28268
MD5sum: 786d8cc864519438d5a19b987e89e43a
SHA1: b9cd644f1068ca1b460c225e185b471c6877d71e
SHA256: 60b14306c928edc8aca99b1c7100ff1ccb143fac6a7982786154487da5e04f1d
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af