How To Install perl-Template-GD on CentOS 7

In this tutorial we learn how to install perl-Template-GD on CentOS 7. perl-Template-GD is GD plugin(s) for the Template Toolkit

Introduction

In this tutorial we learn how to install perl-Template-GD on CentOS 7.

What is perl-Template-GD

The Template-GD distribution provides a number of Template Toolkit plugin modules to interface with Lincoln Stein’s GD modules. These in turn provide an interface to Thomas Boutell’s GD graphics library. These plugins were distributed as part of the Template Toolkit until version 2.15 released in February 2006. At this time they were extracted into this separate distribution.

We can use yum or dnf to install perl-Template-GD on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Template-GD.

Install perl-Template-GD on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Template-GD using yum by running the following command:

sudo yum -y install perl-Template-GD

Install perl-Template-GD on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Template-GD using dnf by running the following command:

sudo dnf -y install perl-Template-GD

How To Uninstall perl-Template-GD on CentOS 7

To uninstall only the perl-Template-GD package we can use the following command:

sudo dnf remove perl-Template-GD

References

Summary

In this tutorial we learn how to install perl-Template-GD on CentOS 7 using yum and dnf.