How To Install perl-YAML-Tiny.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-YAML-Tiny.noarch in Amazon Linux 2. perl-YAML-Tiny.noarch is Read/Write YAML files with as little code as possible

Introduction

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

What is perl-YAML-Tiny.noarch

YAML files, written with as little code as possible, reducing load time and memory overhead.

We can use yum to install perl-YAML-Tiny.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-YAML-Tiny.noarch.

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

sudo yum -y install perl-YAML-Tiny.noarch

How To Uninstall perl-YAML-Tiny.noarch on Amazon Linux 2

To uninstall only the perl-YAML-Tiny.noarch package we can use the following command:

sudo yum remove perl-YAML-Tiny.noarch

perl-YAML-Tiny.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-YAML-Tiny-1.51
/usr/share/doc/perl-YAML-Tiny-1.51/Changes
/usr/share/doc/perl-YAML-Tiny-1.51/LICENSE
/usr/share/doc/perl-YAML-Tiny-1.51/README
/usr/share/man/man3/YAML::Tiny.3pm.gz
/usr/share/perl5/vendor_perl/YAML
/usr/share/perl5/vendor_perl/YAML/Tiny.pm

References

Summary

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