How To Install perl-Coro on Rocky Linux 8

In this tutorial we learn how to install perl-Coro on Rocky Linux 8. perl-Coro is The only real threads in perl

Introduction

In this tutorial we learn how to install perl-Coro on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Coro.

Install perl-Coro on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove perl-Coro

perl-Coro Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/09815901ab33a1ba0fd635cd56afeeed364cc5
/usr/lib/.build-id/38
/usr/lib/.build-id/38/60d5fa94b5e00ba826b206686cc81e5c5027dd
/usr/lib/.build-id/60
/usr/lib/.build-id/60/5e913ed4fe03e2525c6c9a82767f2654875230
/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 Rocky Linux 8 using yum and dnf.