How To Install gd.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install gd.i686
on Amazon Linux 2.
What is gd.i686
The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.
We can use yum
to install gd.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gd.i686.
Install gd.i686 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gd.i686
using yum
by running the following command:
sudo yum -y install gd.i686
How To Uninstall gd.i686 on Amazon Linux 2
To uninstall only the gd.i686
package we can use the following command:
sudo yum remove gd.i686
gd.i686 Package Contents on Amazon Linux 2
/usr/lib/libgd.so.2
/usr/lib/libgd.so.2.0.0
/usr/share/doc/gd-2.0.35
/usr/share/doc/gd-2.0.35/COPYING
/usr/share/doc/gd-2.0.35/NEWS
/usr/share/doc/gd-2.0.35/README-JPEG.TXT
/usr/share/doc/gd-2.0.35/index.html
References
Summary
In this tutorial we learn how to install gd.i686
on Amazon Linux 2 using yum.