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

Last updated: November 08,2024

1. Install "php7.2-gd" package

Learn how to install php7.2-gd on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.2-gd" package

This tutorial shows how to uninstall php7.2-gd on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php7.2-gd
Source: php7.2
Priority: optional
Section: php
Installed-Size: 131
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-21+ubuntu16.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-21+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.2/php7.2-gd_7.2.34-21+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 26530
MD5sum: 504fc91560481a0d475f517ef02c05c9
SHA1: 76b26041ee6dd5f802b80dfd6a902177b0185ff2
SHA256: 7689316a23bbb7358e8c875ef7df891c7739fb0e01611c81405775d42775aa84
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