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

In this tutorial we learn how to install perl-YAML.noarch in Amazon Linux 2. perl-YAML.noarch is YAML Ain’t Markup Language (tm)

Introduction

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

What is perl-YAML.noarch

The YAML.pm module implements a YAML Loader and Dumper based on the YAML 1.0 specification. http YAML is a generic data serialization language that is optimized for human readability. It can be used to express the data structures of most modern programming languages, including Perl. For information on the YAML syntax, please refer to the YAML specification.

We can use yum to install perl-YAML.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.noarch.

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

sudo yum -y install perl-YAML.noarch

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

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

sudo yum remove perl-YAML.noarch

perl-YAML.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-YAML-0.84
/usr/share/doc/perl-YAML-0.84/Changes
/usr/share/doc/perl-YAML-0.84/LICENSE
/usr/share/doc/perl-YAML-0.84/README
/usr/share/man/man3/YAML.3pm.gz
/usr/share/man/man3/YAML::Any.3pm.gz
/usr/share/man/man3/YAML::Dumper.3pm.gz
/usr/share/man/man3/YAML::Dumper::Base.3pm.gz
/usr/share/man/man3/YAML::Error.3pm.gz
/usr/share/man/man3/YAML::Loader.3pm.gz
/usr/share/man/man3/YAML::Loader::Base.3pm.gz
/usr/share/man/man3/YAML::Marshall.3pm.gz
/usr/share/man/man3/YAML::Node.3pm.gz
/usr/share/man/man3/YAML::Tag.3pm.gz
/usr/share/man/man3/YAML::Types.3pm.gz
/usr/share/perl5/vendor_perl/YAML
/usr/share/perl5/vendor_perl/YAML.pm
/usr/share/perl5/vendor_perl/YAML/Any.pm
/usr/share/perl5/vendor_perl/YAML/Dumper
/usr/share/perl5/vendor_perl/YAML/Dumper.pm
/usr/share/perl5/vendor_perl/YAML/Dumper/Base.pm
/usr/share/perl5/vendor_perl/YAML/Error.pm
/usr/share/perl5/vendor_perl/YAML/Loader
/usr/share/perl5/vendor_perl/YAML/Loader.pm
/usr/share/perl5/vendor_perl/YAML/Loader/Base.pm
/usr/share/perl5/vendor_perl/YAML/Marshall.pm
/usr/share/perl5/vendor_perl/YAML/Mo.pm
/usr/share/perl5/vendor_perl/YAML/Node.pm
/usr/share/perl5/vendor_perl/YAML/Tag.pm
/usr/share/perl5/vendor_perl/YAML/Types.pm

References

Summary

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