How To Install perl-GDTextUtil on CentOS 7

In this tutorial we learn how to install perl-GDTextUtil on CentOS 7. perl-GDTextUtil is Text utilities for use with GD

Introduction

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

What is perl-GDTextUtil

This package provides three modules that make it possible to work with internal GD fonts as well as TrueType fonts, without having to worry about different interface functions to call. Apart from an abstract interface to all font types and strings for GD, this library also provides some utility in aligning and wrapping your string.

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

Install perl-GDTextUtil 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-GDTextUtil using yum by running the following command:

sudo yum -y install perl-GDTextUtil

Install perl-GDTextUtil 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-GDTextUtil using dnf by running the following command:

sudo dnf -y install perl-GDTextUtil

How To Uninstall perl-GDTextUtil on CentOS 7

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

sudo dnf remove perl-GDTextUtil

References

Summary

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