How to Install and Uninstall php7.1-gd Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 27,2024
Notice
You can also install and uninstall the php7.1-gd on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php7.1-gd" package
This tutorial shows how to install php7.1-gd on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.1-gd
Copied
2. Uninstall "php7.1-gd" package
This guide covers the steps necessary to uninstall php7.1-gd on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.1-gd
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.1-gd package on Ubuntu 22.04 LTS (Jammy Jellyfish)
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+ubuntu22.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 32366
MD5sum: 3309c3e98db6194c7afcaf11fc572316
SHA1: 5d24dea3f71973f099972518e7ead1d7ad0e90cf
SHA256: eb2f23ca25ca1e84215efa314e904ac496bb9d765b92c4739e0e8550cdc8feb3
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af
Source: php7.1
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu22.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu22.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+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 32366
MD5sum: 3309c3e98db6194c7afcaf11fc572316
SHA1: 5d24dea3f71973f099972518e7ead1d7ad0e90cf
SHA256: eb2f23ca25ca1e84215efa314e904ac496bb9d765b92c4739e0e8550cdc8feb3
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af