How To Install gd-progs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gd-progs.x86_64 in Amazon Linux 2. gd-progs.x86_64 is Utility programs that use libgd

Introduction

In this tutorial we learn how to install gd-progs.x86_64 on Amazon Linux 2.

What is gd-progs.x86_64

The gd-progs package includes utility programs supplied with gd, a graphics library for creating PNG and JPEG images.

We can use yum to install gd-progs.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gd-progs.x86_64.

Install gd-progs.x86_64 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-progs.x86_64 using yum by running the following command:

sudo yum -y install gd-progs.x86_64

How To Uninstall gd-progs.x86_64 on Amazon Linux 2

To uninstall only the gd-progs.x86_64 package we can use the following command:

sudo yum remove gd-progs.x86_64

gd-progs.x86_64 Package Contents on Amazon Linux 2

/usr/bin/annotate
/usr/bin/bdftogd
/usr/bin/gd2copypal
/usr/bin/gd2togif
/usr/bin/gd2topng
/usr/bin/gdcmpgif
/usr/bin/gdparttopng
/usr/bin/gdtopng
/usr/bin/giftogd2
/usr/bin/pngtogd
/usr/bin/pngtogd2
/usr/bin/webpng

References

Summary

In this tutorial we learn how to install gd-progs.x86_64 on Amazon Linux 2 using yum.