How To Install eg on Rocky Linux 8

In this tutorial we learn how to install eg on Rocky Linux 8. eg is Git for mere mortals

Introduction

In this tutorial we learn how to install eg on Rocky Linux 8.

What is eg

Easy Git (eg) is a wrapper for git, designed to make git easy to learn and use.

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

Install eg 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 eg using dnf by running the following command:

sudo dnf -y install eg

Install eg 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 eg using yum by running the following command:

sudo yum -y install eg

How To Uninstall eg on Rocky Linux 8

To uninstall only the eg package we can use the following command:

sudo dnf remove eg

eg Package Contents on Rocky Linux 8

/usr/bin/eg
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/eg
/usr/share/doc/eg
/usr/share/doc/eg/README

References

Summary

In this tutorial we learn how to install eg on Rocky Linux 8 using yum and dnf.