How To Install perl-Sub-Prototype on Fedora 36

In this tutorial we learn how to install perl-Sub-Prototype in Fedora 36. perl-Sub-Prototype is Allows you to set a subs prototype

Introduction

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

What is perl-Sub-Prototype

This modules allows you to set a subs prototype. It only has one function, which is exported by default.

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

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

sudo dnf -y install perl-Sub-Prototype

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

sudo yum -y install perl-Sub-Prototype

How To Uninstall perl-Sub-Prototype on Fedora 36

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

sudo dnf remove perl-Sub-Prototype

perl-Sub-Prototype Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/b2bee85c47645b16caa577957c1a8656746679
/usr/lib64/perl5/vendor_perl/Sub
/usr/lib64/perl5/vendor_perl/Sub/Prototype.pm
/usr/lib64/perl5/vendor_perl/auto/Sub
/usr/lib64/perl5/vendor_perl/auto/Sub/Prototype
/usr/lib64/perl5/vendor_perl/auto/Sub/Prototype/Prototype.so
/usr/share/doc/perl-Sub-Prototype
/usr/share/doc/perl-Sub-Prototype/Changes
/usr/share/doc/perl-Sub-Prototype/README
/usr/share/licenses/perl-Sub-Prototype
/usr/share/licenses/perl-Sub-Prototype/LICENCE
/usr/share/man/man3/Sub::Prototype.3pm.gz

References

Summary

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