How To Install perl-Coro on Fedora 36

In this tutorial we learn how to install perl-Coro in Fedora 36. perl-Coro is The only real threads in perl

Introduction

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

What is perl-Coro

This module collection manages continuations in general, most often in the form of cooperative threads (also called coros, or simply “coro” in the documentation). They are similar to kernel threads but don’t (in general) run in parallel at the same time even on SMP machines. The specific flavor of thread offered by this module also guarantees you that it will not switch between threads unless necessary, at easily-identified points in your program, so locking and parallel access are rarely an issue, making thread programming much safer and easier than using other thread models.

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

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

sudo dnf -y install perl-Coro

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

sudo yum -y install perl-Coro

How To Uninstall perl-Coro on Fedora 36

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

sudo dnf remove perl-Coro

perl-Coro Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/170e61a13cc96dff319cab0d8ddc8491da7764
/usr/lib/.build-id/55
/usr/lib/.build-id/55/1cbbc1093e9f7e76054954fcc7011422edeba7
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/641d05e8d943023bc329fefdeee84d63b1e0eb
/usr/lib64/perl5/Coro
/usr/lib64/perl5/Coro.pm
/usr/lib64/perl5/Coro/AIO.pm
/usr/lib64/perl5/Coro/AnyEvent.pm
/usr/lib64/perl5/Coro/BDB.pm
/usr/lib64/perl5/Coro/Channel.pm
/usr/lib64/perl5/Coro/CoroAPI.h
/usr/lib64/perl5/Coro/Debug.pm
/usr/lib64/perl5/Coro/EV.pm
/usr/lib64/perl5/Coro/Event.pm
/usr/lib64/perl5/Coro/Handle.pm
/usr/lib64/perl5/Coro/Intro.pod
/usr/lib64/perl5/Coro/LWP.pm
/usr/lib64/perl5/Coro/MakeMaker.pm
/usr/lib64/perl5/Coro/RWLock.pm
/usr/lib64/perl5/Coro/Select.pm
/usr/lib64/perl5/Coro/Semaphore.pm
/usr/lib64/perl5/Coro/SemaphoreSet.pm
/usr/lib64/perl5/Coro/Signal.pm
/usr/lib64/perl5/Coro/Socket.pm
/usr/lib64/perl5/Coro/Specific.pm
/usr/lib64/perl5/Coro/State.pm
/usr/lib64/perl5/Coro/Storable.pm
/usr/lib64/perl5/Coro/Timer.pm
/usr/lib64/perl5/Coro/Util.pm
/usr/lib64/perl5/Coro/jit-amd64-unix.pl
/usr/lib64/perl5/Coro/jit-x86-unix.pl
/usr/lib64/perl5/auto/Coro
/usr/lib64/perl5/auto/Coro/EV
/usr/lib64/perl5/auto/Coro/EV/EV.so
/usr/lib64/perl5/auto/Coro/Event
/usr/lib64/perl5/auto/Coro/Event/Event.so
/usr/lib64/perl5/auto/Coro/State
/usr/lib64/perl5/auto/Coro/State/State.so
/usr/share/doc/perl-Coro
/usr/share/doc/perl-Coro/Changes
/usr/share/doc/perl-Coro/README
/usr/share/doc/perl-Coro/README.linux-glibc
/usr/share/doc/perl-Coro/cede-vs-schedule
/usr/share/doc/perl-Coro/eg
/usr/share/doc/perl-Coro/eg/bench
/usr/share/doc/perl-Coro/eg/dns
/usr/share/doc/perl-Coro/eg/event
/usr/share/doc/perl-Coro/eg/lwp
/usr/share/doc/perl-Coro/eg/myhttpd
/usr/share/doc/perl-Coro/eg/prodcons1
/usr/share/doc/perl-Coro/eg/prodcons2
/usr/share/doc/perl-Coro/eg/prodcons3
/usr/share/doc/perl-Coro/eg/readline
/usr/share/licenses/perl-Coro
/usr/share/licenses/perl-Coro/COPYING
/usr/share/man/man3/Coro.3pm.gz
/usr/share/man/man3/Coro::AIO.3pm.gz
/usr/share/man/man3/Coro::AnyEvent.3pm.gz
/usr/share/man/man3/Coro::BDB.3pm.gz
/usr/share/man/man3/Coro::Channel.3pm.gz
/usr/share/man/man3/Coro::Debug.3pm.gz
/usr/share/man/man3/Coro::EV.3pm.gz
/usr/share/man/man3/Coro::Event.3pm.gz
/usr/share/man/man3/Coro::Handle.3pm.gz
/usr/share/man/man3/Coro::Intro.3pm.gz
/usr/share/man/man3/Coro::LWP.3pm.gz
/usr/share/man/man3/Coro::MakeMaker.3pm.gz
/usr/share/man/man3/Coro::RWLock.3pm.gz
/usr/share/man/man3/Coro::Select.3pm.gz
/usr/share/man/man3/Coro::Semaphore.3pm.gz
/usr/share/man/man3/Coro::SemaphoreSet.3pm.gz
/usr/share/man/man3/Coro::Signal.3pm.gz
/usr/share/man/man3/Coro::Socket.3pm.gz
/usr/share/man/man3/Coro::Specific.3pm.gz
/usr/share/man/man3/Coro::State.3pm.gz
/usr/share/man/man3/Coro::Storable.3pm.gz
/usr/share/man/man3/Coro::Timer.3pm.gz
/usr/share/man/man3/Coro::Util.3pm.gz

References

Summary

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