How To Install perl-Parse-RecDescent on AlmaLinux 8

In this tutorial we learn how to install perl-Parse-RecDescent in AlmaLinux 8. perl-Parse-RecDescent is Generate Recursive-Descent Parsers

Introduction

In this tutorial we learn how to install perl-Parse-RecDescent on AlmaLinux 8.

What is perl-Parse-RecDescent

Parse text parsers from simple yacc-like grammar specifications. It provides * Regular expressions or literal strings as terminals (tokens) * Multiple (non-contiguous) productions for any rule * Repeated and optional subrules within productions * Full access to Perl within actions specified as part of the grammar * Simple automated error reporting during parser generation and parsing * The ability to commit to, uncommit to, or reject particular productions during a parse * The ability to pass data up and down the parse tree (“down” via subrule argument lists, “up” via subrule return values) * Incremental extension of the parsing grammar (even during a parse) * Precompilation of parser objects * User-definable reduce-reduce conflict resolution via “scoring” of matching productions

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

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

sudo dnf -y install perl-Parse-RecDescent

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

sudo yum -y install perl-Parse-RecDescent

How To Uninstall perl-Parse-RecDescent on AlmaLinux 8

To uninstall only the perl-Parse-RecDescent package we can use the following command:

sudo dnf remove perl-Parse-RecDescent

References

Summary

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