How To Install perl-Devel-Cycle.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Devel-Cycle.noarch in Amazon Linux 2. perl-Devel-Cycle.noarch is Find memory cycles in objects

Introduction

In this tutorial we learn how to install perl-Devel-Cycle.noarch on Amazon Linux 2.

What is perl-Devel-Cycle.noarch

This is a simple developer’s tool for finding circular references in objects and other types of references. Because of Perl’s reference-count based memory management, circular references will cause memory leaks.

We can use yum to install perl-Devel-Cycle.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Devel-Cycle.noarch.

Install perl-Devel-Cycle.noarch 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-Devel-Cycle.noarch using yum by running the following command:

sudo yum -y install perl-Devel-Cycle.noarch

How To Uninstall perl-Devel-Cycle.noarch on Amazon Linux 2

To uninstall only the perl-Devel-Cycle.noarch package we can use the following command:

sudo yum remove perl-Devel-Cycle.noarch

perl-Devel-Cycle.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Devel-Cycle-1.11
/usr/share/doc/perl-Devel-Cycle-1.11/Changes
/usr/share/doc/perl-Devel-Cycle-1.11/README
/usr/share/man/man3/Devel::Cycle.3pm.gz
/usr/share/perl5/vendor_perl/Devel
/usr/share/perl5/vendor_perl/Devel/Cycle.pm
/usr/share/perl5/vendor_perl/Devel/Cycle.pm.512

References

Summary

In this tutorial we learn how to install perl-Devel-Cycle.noarch on Amazon Linux 2 using yum.