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

Last updated: December 27,2024

1. Install "php7.1-gd" package

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

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

2. Uninstall "php7.1-gd" package

This tutorial shows how to uninstall php7.1-gd on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.1-gd
Source: php7.1
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.1/php7.1-gd_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 28252
MD5sum: d0eb08bf961d51524892bb5c040d6e99
SHA1: 50e196ccabdac15ce550cc62590894a4fe4293bb
SHA256: bd329b23fe01bb4ab665500d2adf23215ef8afe832b3cfa8b5b766bce4c3f5a6
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af