How To Install perl-File-Copy-Recursive-Reduced on CentOS 7

In this tutorial we learn how to install perl-File-Copy-Recursive-Reduced on CentOS 7. perl-File-Copy-Recursive-Reduced is Recursive copying of files and directories within Perl 5 toolchain

Introduction

In this tutorial we learn how to install perl-File-Copy-Recursive-Reduced on CentOS 7.

What is perl-File-Copy-Recursive-Reduced

This library is intended as a not-quite-drop-in replacement for certain functionality provided by CPAN distribution File-Copy-Recursive. The library provides methods similar enough to that distribution’s fcopy() and dircopy() functions to be usable in those CPAN distributions often described as being part of the Perl toolchain.

We can use yum or dnf to install perl-File-Copy-Recursive-Reduced on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-File-Copy-Recursive-Reduced.

Install perl-File-Copy-Recursive-Reduced on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-File-Copy-Recursive-Reduced using yum by running the following command:

sudo yum -y install perl-File-Copy-Recursive-Reduced

Install perl-File-Copy-Recursive-Reduced on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-File-Copy-Recursive-Reduced using dnf by running the following command:

sudo dnf -y install perl-File-Copy-Recursive-Reduced

How To Uninstall perl-File-Copy-Recursive-Reduced on CentOS 7

To uninstall only the perl-File-Copy-Recursive-Reduced package we can use the following command:

sudo dnf remove perl-File-Copy-Recursive-Reduced

References

Summary

In this tutorial we learn how to install perl-File-Copy-Recursive-Reduced on CentOS 7 using yum and dnf.