How To Install perl-CLI-Osprey on Fedora 36

In this tutorial we learn how to install perl-CLI-Osprey in Fedora 36. perl-CLI-Osprey is MooX

Introduction

In this tutorial we learn how to install perl-CLI-Osprey on Fedora 36.

What is perl-CLI-Osprey

CLI M* OO modules (Moose, Moo, Mo). With it, you structure your app as one or more modules, which get instantiated with the command-line arguments as attributes. Arguments are parsed using Getopt and both long and short help messages as well as complete manual pages are automatically generated. An app can be a single command with options, or have sub-commands (like git). Sub-commands can be defined as modules (with options of their own) or as simple code-refs.

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

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

sudo dnf -y install perl-CLI-Osprey

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

sudo yum -y install perl-CLI-Osprey

How To Uninstall perl-CLI-Osprey on Fedora 36

To uninstall only the perl-CLI-Osprey package we can use the following command:

sudo dnf remove perl-CLI-Osprey

perl-CLI-Osprey Package Contents on Fedora 36

/usr/share/doc/perl-CLI-Osprey
/usr/share/doc/perl-CLI-Osprey/Changes
/usr/share/doc/perl-CLI-Osprey/README
/usr/share/doc/perl-CLI-Osprey/eg
/usr/share/doc/perl-CLI-Osprey/eg/test.pl
/usr/share/licenses/perl-CLI-Osprey
/usr/share/licenses/perl-CLI-Osprey/LICENSE
/usr/share/man/man3/CLI::Osprey.3pm.gz
/usr/share/man/man3/CLI::Osprey::Descriptive.3pm.gz
/usr/share/man/man3/CLI::Osprey::Descriptive::Usage.3pm.gz
/usr/share/man/man3/CLI::Osprey::InlineSubcommand.3pm.gz
/usr/share/man/man3/CLI::Osprey::Role.3pm.gz
/usr/share/perl5/vendor_perl/CLI
/usr/share/perl5/vendor_perl/CLI/Osprey
/usr/share/perl5/vendor_perl/CLI/Osprey.pm
/usr/share/perl5/vendor_perl/CLI/Osprey/Descriptive
/usr/share/perl5/vendor_perl/CLI/Osprey/Descriptive.pm
/usr/share/perl5/vendor_perl/CLI/Osprey/Descriptive/Usage.pm
/usr/share/perl5/vendor_perl/CLI/Osprey/InlineSubcommand.pm
/usr/share/perl5/vendor_perl/CLI/Osprey/Role.pm

References

Summary

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