How To Install perl-Test-ClassAPI.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Test-ClassAPI.noarch in Amazon Linux 2. perl-Test-ClassAPI.noarch is Provides basic first-pass API testing for large class trees

Introduction

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

What is perl-Test-ClassAPI.noarch

Provides basic first-pass API testing for large class trees. For many APIs with large numbers of classes, it can be very useful to be able to do a quick once-over to make sure that classes, methods, and inheritance is correct, before doing more comprehensive testing. This module aims to provide such a capability.

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

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

sudo yum -y install perl-Test-ClassAPI.noarch

How To Uninstall perl-Test-ClassAPI.noarch on Amazon Linux 2

To uninstall only the perl-Test-ClassAPI.noarch package we can use the following command:

sudo yum remove perl-Test-ClassAPI.noarch

perl-Test-ClassAPI.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Test-ClassAPI-1.06
/usr/share/doc/perl-Test-ClassAPI-1.06/Changes
/usr/share/doc/perl-Test-ClassAPI-1.06/LICENSE
/usr/share/man/man3/Test::ClassAPI.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/ClassAPI.pm

References

Summary

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