How To Install perl-Git.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Git.noarch in Amazon Linux 2. perl-Git.noarch is Perl interface to Git

Introduction

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

What is perl-Git.noarch

Perl interface to Git.

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

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

sudo yum -y install perl-Git.noarch

How To Uninstall perl-Git.noarch on Amazon Linux 2

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

sudo yum remove perl-Git.noarch

perl-Git.noarch Package Contents on Amazon Linux 2

/usr/share/man/man3/Git.3pm.gz
/usr/share/perl5/vendor_perl/Git
/usr/share/perl5/vendor_perl/Git.pm
/usr/share/perl5/vendor_perl/Git/I18N.pm
/usr/share/perl5/vendor_perl/Git/IndexInfo.pm
/usr/share/perl5/vendor_perl/Git/Packet.pm

References

Summary

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