How To Install perl-ExtUtils-CBuilder.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-ExtUtils-CBuilder.noarch in Amazon Linux 2. perl-ExtUtils-CBuilder.noarch is Compile and link C code for Perl modules

Introduction

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

What is perl-ExtUtils-CBuilder.noarch

This module can build the C portions of Perl modules by invoking the appropriate compilers and linkers in a cross-platform manner. It was motivated by the Module for other purposes as well.

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

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

sudo yum -y install perl-ExtUtils-CBuilder.noarch

How To Uninstall perl-ExtUtils-CBuilder.noarch on Amazon Linux 2

To uninstall only the perl-ExtUtils-CBuilder.noarch package we can use the following command:

sudo yum remove perl-ExtUtils-CBuilder.noarch

perl-ExtUtils-CBuilder.noarch Package Contents on Amazon Linux 2

/usr/share/man/man3/ExtUtils::CBuilder.3pm.gz
/usr/share/man/man3/ExtUtils::CBuilder::Platform::Windows.3pm.gz
/usr/share/perl5/ExtUtils/CBuilder
/usr/share/perl5/ExtUtils/CBuilder.pm
/usr/share/perl5/ExtUtils/CBuilder/Base.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform
/usr/share/perl5/ExtUtils/CBuilder/Platform/Unix.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/VMS.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/Windows
/usr/share/perl5/ExtUtils/CBuilder/Platform/Windows.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/Windows/BCC.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/Windows/GCC.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/aix.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/cygwin.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/darwin.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/dec_osf.pm
/usr/share/perl5/ExtUtils/CBuilder/Platform/os2.pm

References

Summary

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