How To Install perl-PerlX-Maybe on Fedora 36

In this tutorial we learn how to install perl-PerlX-Maybe in Fedora 36. perl-PerlX-Maybe is Return a pair only if they are both defined

Introduction

In this tutorial we learn how to install perl-PerlX-Maybe on Fedora 36.

What is perl-PerlX-Maybe

This Perl module provides a syntax sugar for passing a pair of variables only if both of them match some criteria (to be defined usually).

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

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

sudo dnf -y install perl-PerlX-Maybe

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

sudo yum -y install perl-PerlX-Maybe

How To Uninstall perl-PerlX-Maybe on Fedora 36

To uninstall only the perl-PerlX-Maybe package we can use the following command:

sudo dnf remove perl-PerlX-Maybe

perl-PerlX-Maybe Package Contents on Fedora 36

/usr/share/doc/perl-PerlX-Maybe
/usr/share/doc/perl-PerlX-Maybe/COPYRIGHT
/usr/share/doc/perl-PerlX-Maybe/CREDITS
/usr/share/doc/perl-PerlX-Maybe/Changes
/usr/share/doc/perl-PerlX-Maybe/README
/usr/share/licenses/perl-PerlX-Maybe
/usr/share/licenses/perl-PerlX-Maybe/LICENSE
/usr/share/man/man3/PerlX::Maybe.3pm.gz
/usr/share/man/man3/Syntax::Feature::Maybe.3pm.gz
/usr/share/perl5/vendor_perl/PerlX
/usr/share/perl5/vendor_perl/PerlX/Maybe.pm
/usr/share/perl5/vendor_perl/Syntax
/usr/share/perl5/vendor_perl/Syntax/Feature
/usr/share/perl5/vendor_perl/Syntax/Feature/Maybe.pm

References

Summary

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