How To Install perl-Tree on Fedora 36

In this tutorial we learn how to install perl-Tree in Fedora 36. perl-Tree is Tree data structure

Introduction

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

What is perl-Tree

This implements a full-featured N-ary tree representation with configurable error-handling and a simple events system that allows for transparent persistence to a variety of data stores.

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

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

sudo dnf -y install perl-Tree

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

sudo yum -y install perl-Tree

How To Uninstall perl-Tree on Fedora 36

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

sudo dnf remove perl-Tree

perl-Tree Package Contents on Fedora 36

/usr/share/doc/perl-Tree
/usr/share/doc/perl-Tree/Changes
/usr/share/doc/perl-Tree/scripts
/usr/share/doc/perl-Tree/scripts/print.tree.pl
/usr/share/licenses/perl-Tree
/usr/share/licenses/perl-Tree/LICENSE
/usr/share/man/man3/Tree.3pm.gz
/usr/share/man/man3/Tree::Binary2.3pm.gz
/usr/share/man/man3/Tree::DeepClone.3pm.gz
/usr/share/man/man3/Tree::Fast.3pm.gz
/usr/share/perl5/vendor_perl/Tree
/usr/share/perl5/vendor_perl/Tree.pm
/usr/share/perl5/vendor_perl/Tree/Binary2.pm
/usr/share/perl5/vendor_perl/Tree/DeepClone.pm
/usr/share/perl5/vendor_perl/Tree/Fast.pm

References

Summary

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