How To Install git-email on Rocky Linux 8

In this tutorial we learn how to install git-email on Rocky Linux 8. git-email is Git tools for sending patches via email

Introduction

In this tutorial we learn how to install git-email on Rocky Linux 8.

What is git-email

Git tools for sending patches via email.

We can use yum or dnf to install git-email on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install git-email.

Install git-email on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install git-email using dnf by running the following command:

sudo dnf -y install git-email

Install git-email on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install git-email using yum by running the following command:

sudo yum -y install git-email

How To Uninstall git-email on Rocky Linux 8

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

sudo dnf remove git-email

git-email Package Contents on Rocky Linux 8

/usr/libexec/git-core/git-send-email
/usr/share/doc/git/git-send-email.html
/usr/share/doc/git/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 on Rocky Linux 8 using yum and dnf.