How To Install perl-POSIX-AtFork on Fedora 36

In this tutorial we learn how to install perl-POSIX-AtFork in Fedora 36. perl-POSIX-AtFork is Hook registrations at fork(2)

Introduction

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

What is perl-POSIX-AtFork

This module is an interface to pthread_atfork(3), which registers handlers called before and after fork(2).

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

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

sudo dnf -y install perl-POSIX-AtFork

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

sudo yum -y install perl-POSIX-AtFork

How To Uninstall perl-POSIX-AtFork on Fedora 36

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

sudo dnf remove perl-POSIX-AtFork

perl-POSIX-AtFork Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/4306caf6f3b9f4259598fbaf280618274708d2
/usr/lib64/perl5/vendor_perl/POSIX
/usr/lib64/perl5/vendor_perl/POSIX/AtFork.pm
/usr/lib64/perl5/vendor_perl/auto/POSIX
/usr/lib64/perl5/vendor_perl/auto/POSIX/AtFork
/usr/lib64/perl5/vendor_perl/auto/POSIX/AtFork/AtFork.so
/usr/share/doc/perl-POSIX-AtFork
/usr/share/doc/perl-POSIX-AtFork/Changes
/usr/share/doc/perl-POSIX-AtFork/README
/usr/share/man/man3/POSIX::AtFork.3pm.gz

References

Summary

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