How To Install perl-Text-Template on AlmaLinux 8

In this tutorial we learn how to install perl-Text-Template in AlmaLinux 8. perl-Text-Template is Expand template text with embedded Perl

Introduction

In this tutorial we learn how to install perl-Text-Template on AlmaLinux 8.

What is perl-Text-Template

This is a library for generating form letters, building HTML pages, or filling in templates generally. A ’template’ is a piece of text that has little Perl programs embedded in it here and there. When you ‘fill in’ a template, you evaluate the little programs and replace them with their values.

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

Install perl-Text-Template on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Text-Template

Install perl-Text-Template on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Text-Template

How To Uninstall perl-Text-Template on AlmaLinux 8

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

sudo dnf remove perl-Text-Template

References

Summary

In this tutorial we learn how to install perl-Text-Template on AlmaLinux 8 using yum and dnf.