How To Install git-email.noarch on Amazon Linux 2

In this tutorial we learn how to install git-email.noarch in Amazon Linux 2. git-email.noarch is Git tools for sending patches via email

Introduction

In this tutorial we learn how to install git-email.noarch on Amazon Linux 2.

What is git-email.noarch

Git tools for sending patches via email.

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

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

sudo yum -y install git-email.noarch

How To Uninstall git-email.noarch on Amazon Linux 2

To uninstall only the git-email.noarch package we can use the following command:

sudo yum remove git-email.noarch

git-email.noarch Package Contents on Amazon Linux 2

/usr/libexec/git-core/git-send-email
/usr/share/doc/git-2.32.0/git-send-email.html
/usr/share/doc/git-2.32.0/git-send-email.txt
/usr/share/man/man1/git-send-email.1.gz

References

Summary

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