How To Install perl-ReadonlyX on Fedora 36

In this tutorial we learn how to install perl-ReadonlyX in Fedora 36. perl-ReadonlyX is Faster facility for creating read-only scalars, arrays, hashes

Introduction

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

What is perl-ReadonlyX

ReadonlyX is a near-drop-in replacement for Readonly, the popular facility for creating non-modifiable variables. This is useful for configuration files, headers, etc. It can also be useful as a development and debugging tool for catching updates to variables that should not be changed.

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

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

sudo dnf -y install perl-ReadonlyX

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

sudo yum -y install perl-ReadonlyX

How To Uninstall perl-ReadonlyX on Fedora 36

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

sudo dnf remove perl-ReadonlyX

perl-ReadonlyX Package Contents on Fedora 36

/usr/share/doc/perl-ReadonlyX
/usr/share/doc/perl-ReadonlyX/Changes
/usr/share/doc/perl-ReadonlyX/README.md
/usr/share/licenses/perl-ReadonlyX
/usr/share/licenses/perl-ReadonlyX/LICENSE
/usr/share/man/man3/ReadonlyX.3pm.gz
/usr/share/perl5/vendor_perl/ReadonlyX.pm

References

Summary

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