How to Install and Uninstall php7.1-gd Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 23,2024

1. Install "php7.1-gd" package

In this section, we are going to explain the necessary steps to install php7.1-gd on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.1-gd" package

This is a short guide on how to uninstall php7.1-gd on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.1-gd package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.1-gd
Source: php7.1
Priority: optional
Section: php
Installed-Size: 131
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-37+ubuntu16.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-37+ubuntu16.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-37+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 27272
MD5sum: 4c1f858db1ed108a0a820058ed043509
SHA1: 96e9cab0b166c2d162c62d941ed9bf0c38b1593f
SHA256: 75d4729ca4eb44b98f1fe8b74eb156ca24edda04e41ec461650b137c223250d1
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