How To Install perl-Clone.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Clone.x86_64 on Amazon Linux 2.
What is perl-Clone.x86_64
This module provides a clone() method which 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 to install perl-Clone.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Clone.x86_64.
Install perl-Clone.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Clone.x86_64 using yum by running the following command:
sudo yum -y install perl-Clone.x86_64
How To Uninstall perl-Clone.x86_64 on Amazon Linux 2
To uninstall only the perl-Clone.x86_64 package we can use the following command:
sudo yum remove perl-Clone.x86_64
perl-Clone.x86_64 Package Contents on Amazon Linux 2
/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-0.34
/usr/share/doc/perl-Clone-0.34/Changes
/usr/share/man/man3/Clone.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Clone.x86_64 on Amazon Linux 2 using yum.