How To Install perl-deprecate on Fedora 36

In this tutorial we learn how to install perl-deprecate in Fedora 36. perl-deprecate is Perl pragma for deprecating the inclusion of a module in core

Introduction

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

What is perl-deprecate

“deprecate” pragma simplifies the maintenance of dual-life modules that will no longer be included in the Perl core in a future Perl release, but are still included currently. The purpose of the pragma is to alert users to the status of such a module by issuing a warning that encourages them to install the module from CPAN, so that a future upgrade to a perl which omits the module will not break their code.

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

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

sudo dnf -y install perl-deprecate

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

sudo yum -y install perl-deprecate

How To Uninstall perl-deprecate on Fedora 36

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

sudo dnf remove perl-deprecate

perl-deprecate Package Contents on Fedora 36

/usr/share/man/man3/deprecate.3pm.gz
/usr/share/perl5/deprecate.pm

References

Summary

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