How To Install perl-Clone on Fedora 36

In this tutorial we learn how to install perl-Clone in Fedora 36. perl-Clone is Recursively copy perl data types

Introduction

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

What is perl-Clone

This module provides a clone() method that makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects. clone() takes a scalar argument and an optional parameter that can be used to limit the depth of the copy. To duplicate lists, arrays or hashes, pass them in by reference.

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

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

sudo dnf -y install perl-Clone

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

sudo yum -y install perl-Clone

How To Uninstall perl-Clone on Fedora 36

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

sudo dnf remove perl-Clone

perl-Clone Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/90354847684d408fef380dbe3fd7d3fce00d8c
/usr/lib64/perl5/vendor_perl/Clone.pm
/usr/lib64/perl5/vendor_perl/auto/Clone
/usr/lib64/perl5/vendor_perl/auto/Clone/Clone.so
/usr/lib64/perl5/vendor_perl/auto/Clone/autosplit.ix
/usr/share/doc/perl-Clone
/usr/share/doc/perl-Clone/Changes
/usr/share/doc/perl-Clone/README.md
/usr/share/man/man3/Clone.3pm.gz

References

Summary

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