How To Install perl-filetest on Fedora 36

In this tutorial we learn how to install perl-filetest in Fedora 36. perl-filetest is Perl pragma to control the filetest permission operators

Introduction

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

What is perl-filetest

The default behavior of file test operators (e.g. “-r”) is to use the simple mode bits as returned by the stat() family of system calls. However, many operating systems have additional features to define more complex access rights, for example ACLs (Access Control Lists). For such environments, “use filetest” may help the permission operators to return results more consistent with other tools.

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

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

sudo dnf -y install perl-filetest

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

sudo yum -y install perl-filetest

How To Uninstall perl-filetest on Fedora 36

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

sudo dnf remove perl-filetest

perl-filetest Package Contents on Fedora 36

/usr/share/man/man3/filetest.3pm.gz
/usr/share/perl5/filetest.pm

References

Summary

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