How To Install perl-String-Format on AlmaLinux 8

In this tutorial we learn how to install perl-String-Format in AlmaLinux 8. perl-String-Format is Sprintf-like string formatting capabilities with arbitrary format definitions

Introduction

In this tutorial we learn how to install perl-String-Format on AlmaLinux 8.

What is perl-String-Format

String to be expanded. This module would be most useful in configuration files and reporting tools, where the results of a query need to be formatted in a particular way.

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

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

sudo dnf -y install perl-String-Format

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

sudo yum -y install perl-String-Format

How To Uninstall perl-String-Format on AlmaLinux 8

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

sudo dnf remove perl-String-Format

References

Summary

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