How To Install perl-MooseX-Getopt on Fedora 36

In this tutorial we learn how to install perl-MooseX-Getopt in Fedora 36. perl-MooseX-Getopt is Moose role for processing command line options

Introduction

In this tutorial we learn how to install perl-MooseX-Getopt on Fedora 36.

What is perl-MooseX-Getopt

This is a Moose role which provides an alternate constructor for creating objects using parameters passed in from the command line.

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

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

sudo dnf -y install perl-MooseX-Getopt

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

sudo yum -y install perl-MooseX-Getopt

How To Uninstall perl-MooseX-Getopt on Fedora 36

To uninstall only the perl-MooseX-Getopt package we can use the following command:

sudo dnf remove perl-MooseX-Getopt

perl-MooseX-Getopt Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-Getopt
/usr/share/doc/perl-MooseX-Getopt/CONTRIBUTING
/usr/share/doc/perl-MooseX-Getopt/Changes
/usr/share/doc/perl-MooseX-Getopt/README
/usr/share/doc/perl-MooseX-Getopt/t
/usr/share/doc/perl-MooseX-Getopt/t/00-report-prereqs.dd
/usr/share/doc/perl-MooseX-Getopt/t/00-report-prereqs.t
/usr/share/doc/perl-MooseX-Getopt/t/001_basic.t
/usr/share/doc/perl-MooseX-Getopt/t/002_custom_option_type.t
/usr/share/doc/perl-MooseX-Getopt/t/003_inferred_option_type.t
/usr/share/doc/perl-MooseX-Getopt/t/004_nogetop.t
/usr/share/doc/perl-MooseX-Getopt/t/005_strict.t
/usr/share/doc/perl-MooseX-Getopt/t/006_metaclass_traits.t
/usr/share/doc/perl-MooseX-Getopt/t/007_nogetopt_trait.t
/usr/share/doc/perl-MooseX-Getopt/t/008_configfromfile.t
/usr/share/doc/perl-MooseX-Getopt/t/009_gld_and_explicit_options.t
/usr/share/doc/perl-MooseX-Getopt/t/010_dashes.t
/usr/share/doc/perl-MooseX-Getopt/t/011_process_argv.t
/usr/share/doc/perl-MooseX-Getopt/t/100_gld_default_bug.t
/usr/share/doc/perl-MooseX-Getopt/t/101_argv_bug.t
/usr/share/doc/perl-MooseX-Getopt/t/102_basic_basic.t
/usr/share/doc/perl-MooseX-Getopt/t/103_uc_bug.t
/usr/share/doc/perl-MooseX-Getopt/t/104_override_usage.t
/usr/share/doc/perl-MooseX-Getopt/t/105_uc_bug_more.t
/usr/share/doc/perl-MooseX-Getopt/t/106_no_ignore_case.t
/usr/share/doc/perl-MooseX-Getopt/t/107_no_auto_help.t
/usr/share/doc/perl-MooseX-Getopt/t/107_union_bug.t
/usr/share/doc/perl-MooseX-Getopt/t/108_usage_attr.t
/usr/share/doc/perl-MooseX-Getopt/t/109_help_flag.t
/usr/share/doc/perl-MooseX-Getopt/t/110_sort_usage_by_attr_order.t
/usr/share/doc/perl-MooseX-Getopt/t/111_gld_pass_through.t
/usr/share/doc/perl-MooseX-Getopt/t/112_configfile_constructor_arg.t
/usr/share/doc/perl-MooseX-Getopt/t/112_configfile_constructor_arg.yml
/usr/share/doc/perl-MooseX-Getopt/t/113_moosex_strictconstructor.t
/usr/share/doc/perl-MooseX-Getopt/t/114_init_arg.t
/usr/share/doc/perl-MooseX-Getopt/t/zzz-check-breaks.t
/usr/share/licenses/perl-MooseX-Getopt
/usr/share/licenses/perl-MooseX-Getopt/LICENSE
/usr/share/man/man3/MooseX::Getopt.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Basic.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Dashes.3pm.gz
/usr/share/man/man3/MooseX::Getopt::GLD.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Meta::Attribute.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Meta::Attribute::NoGetopt.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Meta::Attribute::Trait.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3pm.gz
/usr/share/man/man3/MooseX::Getopt::OptionTypeMap.3pm.gz
/usr/share/man/man3/MooseX::Getopt::ProcessedArgv.3pm.gz
/usr/share/man/man3/MooseX::Getopt::Strict.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Getopt
/usr/share/perl5/vendor_perl/MooseX/Getopt.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Basic.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Dashes.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/GLD.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute/NoGetopt.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute/Trait
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute/Trait.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/OptionTypeMap.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/ProcessedArgv.pm
/usr/share/perl5/vendor_perl/MooseX/Getopt/Strict.pm

References

Summary

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