How To Install perl-Makefile-Parser on Fedora 36

In this tutorial we learn how to install perl-Makefile-Parser in Fedora 36. perl-Makefile-Parser is Simple parser for Makefiles

Introduction

In this tutorial we learn how to install perl-Makefile-Parser on Fedora 36.

What is perl-Makefile-Parser

This is a simple parser for Makefiles. At this very early stage, the parser only supports a limited set of features, so it may not recognize most of the advanced features provided by certain make tools like GNU make. Its initial purpose is to provide basic support for another module named Makefile by a Makefile using the amazing GraphViz library. The Make module is not satisfactory for this purpose, so I decided to build one of my own.

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

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

sudo dnf -y install perl-Makefile-Parser

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

sudo yum -y install perl-Makefile-Parser

How To Uninstall perl-Makefile-Parser on Fedora 36

To uninstall only the perl-Makefile-Parser package we can use the following command:

sudo dnf remove perl-Makefile-Parser

perl-Makefile-Parser Package Contents on Fedora 36

/usr/bin/makesimple
/usr/bin/pgmake-db
/usr/bin/plmake
/usr/share/doc/perl-Makefile-Parser
/usr/share/doc/perl-Makefile-Parser/Changes
/usr/share/doc/perl-Makefile-Parser/README
/usr/share/man/man1/makesimple.1.gz
/usr/share/man/man1/pgmake-db.1.gz
/usr/share/man/man1/plmake.1.gz
/usr/share/man/man3/Makefile::AST.3pm.gz
/usr/share/man/man3/Makefile::AST::Evaluator.3pm.gz
/usr/share/man/man3/Makefile::Parser.3pm.gz
/usr/share/man/man3/Makefile::Parser::GmakeDB.3pm.gz
/usr/share/perl5/vendor_perl/Makefile
/usr/share/perl5/vendor_perl/Makefile/AST
/usr/share/perl5/vendor_perl/Makefile/AST.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Command.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Evaluator.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Rule
/usr/share/perl5/vendor_perl/Makefile/AST/Rule.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Rule/Base.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Rule/Implicit.pm
/usr/share/perl5/vendor_perl/Makefile/AST/StemMatch.pm
/usr/share/perl5/vendor_perl/Makefile/AST/Variable.pm
/usr/share/perl5/vendor_perl/Makefile/Parser
/usr/share/perl5/vendor_perl/Makefile/Parser.pm
/usr/share/perl5/vendor_perl/Makefile/Parser/GmakeDB.pm

References

Summary

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