How To Install perl-Text-Tree on Fedora 36

In this tutorial we learn how to install perl-Text-Tree in Fedora 36. perl-Text-Tree is Format a simple tree of strings into a textual tree graph

Introduction

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

What is perl-Text-Tree

Allows the caller to develop a tree structure, using nested arrays of strings and references. Once developed, the whole tree can be printed as a diagram, with the root of the tree at the top, and child nodes formatted horizontally below them.

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

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

sudo dnf -y install perl-Text-Tree

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

sudo yum -y install perl-Text-Tree

How To Uninstall perl-Text-Tree on Fedora 36

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

sudo dnf remove perl-Text-Tree

perl-Text-Tree Package Contents on Fedora 36

/usr/share/doc/perl-Text-Tree
/usr/share/doc/perl-Text-Tree/CHANGELOG
/usr/share/doc/perl-Text-Tree/README
/usr/share/man/man3/Text::Tree.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Tree.pm

References

Summary

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