How To Install perl-Regexp-Grammars on Fedora 36

In this tutorial we learn how to install perl-Regexp-Grammars in Fedora 36. perl-Regexp-Grammars is Add grammatical parsing features to perl regular expressions

Introduction

In this tutorial we learn how to install perl-Regexp-Grammars on Fedora 36.

What is perl-Regexp-Grammars

This module adds a small number of new regular expressions constructs that can be used to implement complete recursive-descent parsing. These constructs use the grammar patterns that were added to perl’s regular expressions in perl 5.10.

We can use yum or dnf to install perl-Regexp-Grammars on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Regexp-Grammars.

Install perl-Regexp-Grammars on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Regexp-Grammars using dnf by running the following command:

sudo dnf -y install perl-Regexp-Grammars

Install perl-Regexp-Grammars on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Regexp-Grammars using yum by running the following command:

sudo yum -y install perl-Regexp-Grammars

How To Uninstall perl-Regexp-Grammars on Fedora 36

To uninstall only the perl-Regexp-Grammars package we can use the following command:

sudo dnf remove perl-Regexp-Grammars

perl-Regexp-Grammars Package Contents on Fedora 36

/usr/share/doc/perl-Regexp-Grammars
/usr/share/doc/perl-Regexp-Grammars/Changes
/usr/share/doc/perl-Regexp-Grammars/README
/usr/share/doc/perl-Regexp-Grammars/demo
/usr/share/doc/perl-Regexp-Grammars/demo/demo_IP4.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_LaTeXish.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_LaTeXish_dump.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_Lucene_query.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc_class.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc_inline.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc_list.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc_list_autoactions.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_calc_list_inline.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_debug.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_error.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_error_non_backtracking.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_flattening.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash_lexicon.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash_lookup_generated.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash_lookup_hardcoded.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash_lookup_hashrule.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hash_symtab.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_hashlines.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_list.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_metagrammar.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_pos.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_raw_debug.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_require.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_rfc5322.pl
/usr/share/doc/perl-Regexp-Grammars/demo/demo_whoson.pl
/usr/share/man/man3/Regexp::Grammars.3pm.gz
/usr/share/perl5/vendor_perl/Regexp
/usr/share/perl5/vendor_perl/Regexp/Grammars.pm

References

Summary

In this tutorial we learn how to install perl-Regexp-Grammars on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).