How to Install and Uninstall php7.0-gd Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 24,2024
Notice
You can also install and uninstall the php7.0-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.0-gd" package
This guide covers the steps necessary to install php7.0-gd on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.0-gd
Copied
2. Uninstall "php7.0-gd" package
Please follow the guidance below to uninstall php7.0-gd on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.0-gd
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.0-gd package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.0-gd
Source: php7.0
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.0/php7.0-gd_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 31898
MD5sum: 912bfc0652d6dbf2a7e546db117a02e4
SHA1: e753f80ace623a3784f9a015de4a9a10058fba17
SHA256: 859e3d3c9ef63ad2969ce191c81d081d67dc1b569256a7506be2c54c9ceff33b
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af
Source: php7.0
Priority: optional
Section: php
Installed-Size: 140
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.04.1+deb.sury.org+2
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu22.04.1+deb.sury.org+2), libc6 (>= 2.4), libgd3 (>= 2.1.1), libxpm4
Filename: pool/main/p/php7.0/php7.0-gd_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 31898
MD5sum: 912bfc0652d6dbf2a7e546db117a02e4
SHA1: e753f80ace623a3784f9a015de4a9a10058fba17
SHA256: 859e3d3c9ef63ad2969ce191c81d081d67dc1b569256a7506be2c54c9ceff33b
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af