How to Install and Uninstall php-gd.x86_64 Package on Amazon Linux 2

Last updated: May 08,2024

1. Install "php-gd.x86_64" package

This guide covers the steps necessary to install php-gd.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-gd.x86_64

2. Uninstall "php-gd.x86_64" package

This guide let you learn how to uninstall php-gd.x86_64 on Amazon Linux 2:

$ sudo yum remove php-gd.x86_64 $ sudo yum autoremove

3. Information about the php-gd.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : php-gd
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 752 k
Repo : installed
From repo : amzn2extra-php7.4
Summary : A module for PHP applications for using the gd graphics library
URL : http://www.php.net/
License : PHP and BSD
Description : The php-gd package contains a dynamic shared object that will add
: support for using the gd graphics library to PHP.