How to Install and Uninstall php7.4-gd Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 14,2024

1. Install "php7.4-gd" package

Please follow the step by step instructions below to install php7.4-gd on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.4-gd" package

This tutorial shows how to uninstall php7.4-gd on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.4-gd package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.4-gd
Source: php7.4
Priority: optional
Section: php
Installed-Size: 144
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.1.1)
Filename: pool/main/p/php7.4/php7.4-gd_7.4.33-8+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 28048
MD5sum: c6757151d51cb4eadd4c7ce3bb6f7932
SHA1: 8e0cd6031207377ff8f635fd247d55319151c01e
SHA256: 95b4c1c7b9fdf15ee320a142eb0e689b30818387376fd750909912d56c67afc1
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af

Package: php7.4-gd
Architecture: amd64
Version: 7.4.3-4ubuntu2.19
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 143
Provides: php-gd
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu2.19), libc6 (>= 2.4), libgd3 (>= 2.1.1)
Filename: pool/main/p/php7.4/php7.4-gd_7.4.3-4ubuntu2.19_amd64.deb
Size: 27984
MD5sum: 40ba93aac996c469b5c453be6242b834
SHA1: 960256243e881f6495efb2cb9fd39b882b42a269
SHA256: 1dbc5d54bcd341f98ed9a1da7bd475bb3321dfde00e89bca11a59c1a77e4d785
SHA512: 14d5547db2a6af5bf0124983cae9288d5f1be7963e71cd1b3aa6e67e7da937cd8e5899f40fc867519826002c7dd7ddde5aaa7d405cfdb94b1fda3137b11559a3
Homepage: http://www.php.net/
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af

Package: php7.4-gd
Architecture: amd64
Version: 7.4.3-4ubuntu1
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 143
Provides: php-gd
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu1), libc6 (>= 2.4), libgd3 (>= 2.1.1)
Filename: pool/main/p/php7.4/php7.4-gd_7.4.3-4ubuntu1_amd64.deb
Size: 27948
MD5sum: 13938752c0185e0d7eca65a5a3ba052d
SHA1: 70f8cbb54d93f565367c22d54d3eaf8d5463914d
SHA256: 7c8146cff1a60196eabc080b16179d0470a8711028408e5cc58c31ebcfc033cb
Homepage: http://www.php.net/
Description: GD module for PHP
Description-md5: 9aea7ee3b75b09eba5fefd1af9ab26af