How To Install perl-String-Format.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-String-Format.noarch in Amazon Linux 2. perl-String-Format.noarch is Sprintf-like string formatting capabilities with arbitrary format

Introduction

In this tutorial we learn how to install perl-String-Format.noarch on Amazon Linux 2.

What is perl-String-Format.noarch

String sequences 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 to install perl-String-Format.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-String-Format.noarch.

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

sudo yum -y install perl-String-Format.noarch

How To Uninstall perl-String-Format.noarch on Amazon Linux 2

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

sudo yum remove perl-String-Format.noarch

perl-String-Format.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-String-Format-1.16
/usr/share/doc/perl-String-Format-1.16/COPYING
/usr/share/doc/perl-String-Format-1.16/Changes
/usr/share/man/man3/String::Format.3pm.gz
/usr/share/perl5/vendor_perl/String
/usr/share/perl5/vendor_perl/String/Format.pm

References

Summary

In this tutorial we learn how to install perl-String-Format.noarch on Amazon Linux 2 using yum.