How To Install perl-Promises on Fedora 36

In this tutorial we learn how to install perl-Promises in Fedora 36. perl-Promises is Implementation of Promises in Perl

Introduction

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

What is perl-Promises

This module is an implementation of the “Promise/A+” pattern for asynchronous programming. Promises are meant to be a way to better deal with the resulting callback spaghetti that can often result in asynchronous programs.

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

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

sudo dnf -y install perl-Promises

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

sudo yum -y install perl-Promises

How To Uninstall perl-Promises on Fedora 36

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

sudo dnf remove perl-Promises

perl-Promises Package Contents on Fedora 36

/usr/share/doc/perl-Promises
/usr/share/doc/perl-Promises/Changes
/usr/share/doc/perl-Promises/README.md
/usr/share/doc/perl-Promises/example
/usr/share/doc/perl-Promises/example/chaining-example.pl
/usr/share/doc/perl-Promises/example/example.pl
/usr/share/doc/perl-Promises/example/mojo-promises.pl
/usr/share/licenses/perl-Promises
/usr/share/licenses/perl-Promises/LICENSE
/usr/share/man/man3/Promises.3pm.gz
/usr/share/man/man3/Promises::Cookbook::ChainingAndPipelining.3pm.gz
/usr/share/man/man3/Promises::Cookbook::GentleIntro.3pm.gz
/usr/share/man/man3/Promises::Cookbook::Recursion.3pm.gz
/usr/share/man/man3/Promises::Cookbook::ScalaFuturesComparison.3pm.gz
/usr/share/man/man3/Promises::Cookbook::SynopsisBreakdown.3pm.gz
/usr/share/man/man3/Promises::Cookbook::TIMTOWTDI.3pm.gz
/usr/share/man/man3/Promises::Deferred.3pm.gz
/usr/share/man/man3/Promises::Deferred::AE.3pm.gz
/usr/share/man/man3/Promises::Deferred::AnyEvent.3pm.gz
/usr/share/man/man3/Promises::Deferred::EV.3pm.gz
/usr/share/man/man3/Promises::Deferred::IO::Async.3pm.gz
/usr/share/man/man3/Promises::Deferred::Mojo.3pm.gz
/usr/share/man/man3/Promises::Promise.3pm.gz
/usr/share/man/man3/Promises::Sub.3pm.gz
/usr/share/perl5/vendor_perl/Promises
/usr/share/perl5/vendor_perl/Promises.pm
/usr/share/perl5/vendor_perl/Promises/Cookbook
/usr/share/perl5/vendor_perl/Promises/Cookbook/ChainingAndPipelining.pod
/usr/share/perl5/vendor_perl/Promises/Cookbook/GentleIntro.pod
/usr/share/perl5/vendor_perl/Promises/Cookbook/Recursion.pod
/usr/share/perl5/vendor_perl/Promises/Cookbook/ScalaFuturesComparison.pod
/usr/share/perl5/vendor_perl/Promises/Cookbook/SynopsisBreakdown.pod
/usr/share/perl5/vendor_perl/Promises/Cookbook/TIMTOWTDI.pod
/usr/share/perl5/vendor_perl/Promises/Deferred
/usr/share/perl5/vendor_perl/Promises/Deferred.pm
/usr/share/perl5/vendor_perl/Promises/Deferred/AE.pm
/usr/share/perl5/vendor_perl/Promises/Deferred/AnyEvent.pm
/usr/share/perl5/vendor_perl/Promises/Deferred/EV.pm
/usr/share/perl5/vendor_perl/Promises/Deferred/IO
/usr/share/perl5/vendor_perl/Promises/Deferred/IO/Async.pm
/usr/share/perl5/vendor_perl/Promises/Deferred/Mojo.pm
/usr/share/perl5/vendor_perl/Promises/Promise.pm
/usr/share/perl5/vendor_perl/Promises/Sub.pm

References

Summary

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