How To Install perl-Parse-Yapp.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Parse-Yapp.noarch in Amazon Linux 2. perl-Parse-Yapp.noarch is Perl extension for generating and using LALR parsers

Introduction

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

What is perl-Parse-Yapp.noarch

Parse modules that let you generate and use yacc like thread safe (reentrant) parsers with perl object oriented interface. The script yapp is a front-end to the Parse easily create a Perl OO parser from an input grammar file.

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

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

sudo yum -y install perl-Parse-Yapp.noarch

How To Uninstall perl-Parse-Yapp.noarch on Amazon Linux 2

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

sudo yum remove perl-Parse-Yapp.noarch

perl-Parse-Yapp.noarch Package Contents on Amazon Linux 2

/usr/bin/yapp
/usr/share/doc/perl-Parse-Yapp-1.05
/usr/share/doc/perl-Parse-Yapp-1.05/Changes
/usr/share/doc/perl-Parse-Yapp-1.05/README
/usr/share/man/man1/yapp.1.gz
/usr/share/man/man3/Parse::Yapp.3.gz
/usr/share/perl5/vendor_perl/Parse
/usr/share/perl5/vendor_perl/Parse/Yapp
/usr/share/perl5/vendor_perl/Parse/Yapp.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Driver.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Grammar.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Lalr.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Options.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Output.pm
/usr/share/perl5/vendor_perl/Parse/Yapp/Parse.pm

References

Summary

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