How to Install and Uninstall php7.2-gd Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: September 28,2024
Notice
You can also install and uninstall the php7.2-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.2-gd" package
This tutorial shows how to install php7.2-gd on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.2-gd
Copied
2. Uninstall "php7.2-gd" package
Please follow the steps below to uninstall php7.2-gd on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.2-gd
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2-gd package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.2-gd
Source: php7.2
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu22.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-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 31672
MD5sum: 9ef88a8940e11bbf2b312437a258c483
SHA1: 493461a0046d08a67753a2565cebf893fede167f
SHA256: 3eed5d4f3a8ca7fe64d5912d519997d8b145b5af1184b48898a481c6a97ea0f9
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af
Source: php7.2
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu22.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-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 31672
MD5sum: 9ef88a8940e11bbf2b312437a258c483
SHA1: 493461a0046d08a67753a2565cebf893fede167f
SHA256: 3eed5d4f3a8ca7fe64d5912d519997d8b145b5af1184b48898a481c6a97ea0f9
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af