How To Install perl-Tie-Sub on Fedora 36

In this tutorial we learn how to install perl-Tie-Sub in Fedora 36. perl-Tie-Sub is Tying a subroutine, function or method to a hash

Introduction

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

What is perl-Tie-Sub

Tying a subroutine, function or method to a hash.

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

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

sudo dnf -y install perl-Tie-Sub

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

sudo yum -y install perl-Tie-Sub

How To Uninstall perl-Tie-Sub on Fedora 36

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

sudo dnf remove perl-Tie-Sub

perl-Tie-Sub Package Contents on Fedora 36

/usr/share/doc/perl-Tie-Sub
/usr/share/doc/perl-Tie-Sub/Changes
/usr/share/doc/perl-Tie-Sub/README
/usr/share/doc/perl-Tie-Sub/example
/usr/share/doc/perl-Tie-Sub/example/01_example.pl
/usr/share/doc/perl-Tie-Sub/example/02_default_hash.pl
/usr/share/man/man3/Tie::Sub.3pm.gz
/usr/share/perl5/vendor_perl/Tie
/usr/share/perl5/vendor_perl/Tie/Sub.pm

References

Summary

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