How To Install git-core-doc on AlmaLinux 8

In this tutorial we learn how to install git-core-doc in AlmaLinux 8. git-core-doc is Documentation files for git-core

Introduction

In this tutorial we learn how to install git-core-doc on AlmaLinux 8.

What is git-core-doc

Documentation files for git-core package including man pages.

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

Install git-core-doc on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install git-core-doc

Install git-core-doc on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install git-core-doc

How To Uninstall git-core-doc on AlmaLinux 8

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

sudo dnf remove git-core-doc

References

Summary

In this tutorial we learn how to install git-core-doc on AlmaLinux 8 using yum and dnf.