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

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 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-gd" package

This guide let you learn how to uninstall php7.1-gd on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.1-gd
Source: php7.1
Priority: optional
Section: php
Installed-Size: 132
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-48+ubuntu18.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-48+ubuntu18.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-48+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 27816
MD5sum: 00780a87aad9d121333a09976fb2cd73
SHA1: 256c0b2ea5e4ff2e89b5d1eb9b2fb0b2837daf23
SHA256: f3b16b703ca51f3381f242556d4c4439af304a876b6817b4529ae1f6cf0cef2c
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af