How To Install perl-Retry on Fedora 36

In this tutorial we learn how to install perl-Retry in Fedora 36. perl-Retry is Perl function wrapper providing exponential back-off and callbacks on failure

Introduction

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

What is perl-Retry

A one-feature module, this provides a method to wrap any function in automatic retry logic, with exponential back-off delays, and a callback for each time an attempt fails.

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

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

sudo dnf -y install perl-Retry

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

sudo yum -y install perl-Retry

How To Uninstall perl-Retry on Fedora 36

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

sudo dnf remove perl-Retry

perl-Retry Package Contents on Fedora 36

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

References

Summary

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