How To Install perl-MooseX-Role-Tempdir on Fedora 36

In this tutorial we learn how to install perl-MooseX-Role-Tempdir in Fedora 36. perl-MooseX-Role-Tempdir is Moose role to provide temporary directories

Introduction

In this tutorial we learn how to install perl-MooseX-Role-Tempdir on Fedora 36.

What is perl-MooseX-Role-Tempdir

This is a very simple Moose role that provides an attribute ’tmpdir’ and creates a temporary directory (via File temporary directory will be created for every object with this role, so keep that in mind if you’re going crazy with lots of objects or creation/destruction.

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

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

sudo dnf -y install perl-MooseX-Role-Tempdir

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

sudo yum -y install perl-MooseX-Role-Tempdir

How To Uninstall perl-MooseX-Role-Tempdir on Fedora 36

To uninstall only the perl-MooseX-Role-Tempdir package we can use the following command:

sudo dnf remove perl-MooseX-Role-Tempdir

perl-MooseX-Role-Tempdir Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-Role-Tempdir
/usr/share/doc/perl-MooseX-Role-Tempdir/README
/usr/share/man/man3/MooseX::Role::Tempdir.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Role
/usr/share/perl5/vendor_perl/MooseX/Role/Tempdir.pm

References

Summary

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