How To Install perl-Pegex on Fedora 36
Introduction
In this tutorial we learn how to install perl-Pegex
on Fedora 36.
What is perl-Pegex
Pegex is an Acmeist parser framework. It is a PEG parser grammar syntax, combined with PCRE compatible regular expressions as the match tokens. Pegex draws heavily from Perl 6 rules, but works equivalently in many modern programming languages.
We can use yum
or dnf
to install perl-Pegex
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Pegex.
Install perl-Pegex 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-Pegex
using dnf
by running the following command:
sudo dnf -y install perl-Pegex
Install perl-Pegex 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-Pegex
using yum
by running the following command:
sudo yum -y install perl-Pegex
How To Uninstall perl-Pegex on Fedora 36
To uninstall only the perl-Pegex
package we can use the following command:
sudo dnf remove perl-Pegex
perl-Pegex Package Contents on Fedora 36
/usr/share/doc/perl-Pegex
/usr/share/doc/perl-Pegex/CONTRIBUTING
/usr/share/doc/perl-Pegex/Changes
/usr/share/doc/perl-Pegex/META.json
/usr/share/doc/perl-Pegex/README
/usr/share/doc/perl-Pegex/example
/usr/share/doc/perl-Pegex/example/calculator
/usr/share/doc/perl-Pegex/example/calculator/calculator1.pl
/usr/share/doc/perl-Pegex/example/calculator/calculator2.pl
/usr/share/doc/perl-Pegex/example/calculator/lib
/usr/share/doc/perl-Pegex/example/calculator/lib/Precedence.pm
/usr/share/doc/perl-Pegex/example/calculator/lib/Runner.pm
/usr/share/doc/perl-Pegex/example/calculator/tests
/usr/share/doc/perl-Pegex/example/calculator/tokenizer.pl
/usr/share/doc/perl-Pegex/example/self-parser.pl
/usr/share/licenses/perl-Pegex
/usr/share/licenses/perl-Pegex/LICENSE
/usr/share/man/man3/Pegex.3pm.gz
/usr/share/man/man3/Pegex::API.3pm.gz
/usr/share/man/man3/Pegex::Bootstrap.3pm.gz
/usr/share/man/man3/Pegex::Compiler.3pm.gz
/usr/share/man/man3/Pegex::Grammar.3pm.gz
/usr/share/man/man3/Pegex::Grammar::Atoms.3pm.gz
/usr/share/man/man3/Pegex::Input.3pm.gz
/usr/share/man/man3/Pegex::Miscellany.3pm.gz
/usr/share/man/man3/Pegex::Module.3pm.gz
/usr/share/man/man3/Pegex::Overview.3pm.gz
/usr/share/man/man3/Pegex::Parser.3pm.gz
/usr/share/man/man3/Pegex::Pegex::Grammar.3pm.gz
/usr/share/man/man3/Pegex::Receiver.3pm.gz
/usr/share/man/man3/Pegex::Regex.3pm.gz
/usr/share/man/man3/Pegex::Resources.3pm.gz
/usr/share/man/man3/Pegex::Syntax.3pm.gz
/usr/share/man/man3/Pegex::Tree.3pm.gz
/usr/share/man/man3/Pegex::Tree::Wrap.3pm.gz
/usr/share/man/man3/Pegex::Tutorial.3pm.gz
/usr/share/man/man3/Pegex::Tutorial::Calculator.3pm.gz
/usr/share/man/man3/Pegex::Tutorial::JSON.3pm.gz
/usr/share/perl5/vendor_perl/Pegex
/usr/share/perl5/vendor_perl/Pegex.pm
/usr/share/perl5/vendor_perl/Pegex.pod
/usr/share/perl5/vendor_perl/Pegex/API.pod
/usr/share/perl5/vendor_perl/Pegex/Base.pm
/usr/share/perl5/vendor_perl/Pegex/Bootstrap.pm
/usr/share/perl5/vendor_perl/Pegex/Bootstrap.pod
/usr/share/perl5/vendor_perl/Pegex/Compiler.pm
/usr/share/perl5/vendor_perl/Pegex/Compiler.pod
/usr/share/perl5/vendor_perl/Pegex/Grammar
/usr/share/perl5/vendor_perl/Pegex/Grammar.pm
/usr/share/perl5/vendor_perl/Pegex/Grammar.pod
/usr/share/perl5/vendor_perl/Pegex/Grammar/Atoms.pm
/usr/share/perl5/vendor_perl/Pegex/Grammar/Atoms.pod
/usr/share/perl5/vendor_perl/Pegex/Input.pm
/usr/share/perl5/vendor_perl/Pegex/Input.pod
/usr/share/perl5/vendor_perl/Pegex/Miscellany.pod
/usr/share/perl5/vendor_perl/Pegex/Module.pm
/usr/share/perl5/vendor_perl/Pegex/Module.pod
/usr/share/perl5/vendor_perl/Pegex/Optimizer.pm
/usr/share/perl5/vendor_perl/Pegex/Overview.pod
/usr/share/perl5/vendor_perl/Pegex/Parser
/usr/share/perl5/vendor_perl/Pegex/Parser.pm
/usr/share/perl5/vendor_perl/Pegex/Parser.pod
/usr/share/perl5/vendor_perl/Pegex/Parser/Indent.pm
/usr/share/perl5/vendor_perl/Pegex/Pegex
/usr/share/perl5/vendor_perl/Pegex/Pegex/AST.pm
/usr/share/perl5/vendor_perl/Pegex/Pegex/Grammar.pm
/usr/share/perl5/vendor_perl/Pegex/Pegex/Grammar.pod
/usr/share/perl5/vendor_perl/Pegex/Receiver.pm
/usr/share/perl5/vendor_perl/Pegex/Receiver.pod
/usr/share/perl5/vendor_perl/Pegex/Regex.pm
/usr/share/perl5/vendor_perl/Pegex/Regex.pod
/usr/share/perl5/vendor_perl/Pegex/Resources.pod
/usr/share/perl5/vendor_perl/Pegex/Syntax.pod
/usr/share/perl5/vendor_perl/Pegex/Tree
/usr/share/perl5/vendor_perl/Pegex/Tree.pm
/usr/share/perl5/vendor_perl/Pegex/Tree.pod
/usr/share/perl5/vendor_perl/Pegex/Tree/Wrap.pm
/usr/share/perl5/vendor_perl/Pegex/Tree/Wrap.pod
/usr/share/perl5/vendor_perl/Pegex/Tutorial
/usr/share/perl5/vendor_perl/Pegex/Tutorial.pod
/usr/share/perl5/vendor_perl/Pegex/Tutorial/Calculator.pod
/usr/share/perl5/vendor_perl/Pegex/Tutorial/JSON.pod
/usr/share/perl5/vendor_perl/auto
/usr/share/perl5/vendor_perl/auto/share
/usr/share/perl5/vendor_perl/auto/share/dist
/usr/share/perl5/vendor_perl/auto/share/dist/Pegex
/usr/share/perl5/vendor_perl/auto/share/dist/Pegex/pegex.pgx
References
Summary
In this tutorial we learn how to install perl-Pegex
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).