How To Install perl-opts on Fedora 36

In this tutorial we learn how to install perl-opts in Fedora 36. perl-opts is Simple command line option parser

Introduction

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

What is perl-opts

opts is a DSL for quickly and easily handling command line options.

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

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

sudo dnf -y install perl-opts

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

sudo yum -y install perl-opts

How To Uninstall perl-opts on Fedora 36

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

sudo dnf remove perl-opts

perl-opts Package Contents on Fedora 36

/usr/share/doc/perl-opts
/usr/share/doc/perl-opts/Changes
/usr/share/doc/perl-opts/README.md
/usr/share/man/man3/opts.3pm.gz
/usr/share/perl5/vendor_perl/opts.pm

References

Summary

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