How To Install perl-File-Sync on Fedora 36

In this tutorial we learn how to install perl-File-Sync in Fedora 36. perl-File-Sync is Perl access to fsync() and sync() function calls

Introduction

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

What is perl-File-Sync

The fsync() function takes a Perl file handle as its only argument, and passes its fileno() to the C function fsync(). It returns undef on failure, or true on success.

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

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

sudo dnf -y install perl-File-Sync

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

sudo yum -y install perl-File-Sync

How To Uninstall perl-File-Sync on Fedora 36

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

sudo dnf remove perl-File-Sync

perl-File-Sync Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/6cfeb034c2d6c23da3ba9357accd09b9ffda28
/usr/lib64/perl5/vendor_perl/File
/usr/lib64/perl5/vendor_perl/File/Sync.pm
/usr/lib64/perl5/vendor_perl/auto/File
/usr/lib64/perl5/vendor_perl/auto/File/Sync
/usr/lib64/perl5/vendor_perl/auto/File/Sync/Sync.so
/usr/lib64/perl5/vendor_perl/auto/File/Sync/autosplit.ix
/usr/share/doc/perl-File-Sync
/usr/share/doc/perl-File-Sync/Changes
/usr/share/doc/perl-File-Sync/README
/usr/share/man/man3/File::Sync.3pm.gz

References

Summary

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