How To Install git-delta on Fedora 36

In this tutorial we learn how to install git-delta in Fedora 36. git-delta is Syntax-highlighting pager for git

Introduction

In this tutorial we learn how to install git-delta on Fedora 36.

What is git-delta

Syntax-highlighting pager for git.

We can use yum or dnf to install git-delta on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install git-delta.

Install git-delta on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install git-delta

Install git-delta on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install git-delta

How To Uninstall git-delta on Fedora 36

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

sudo dnf remove git-delta

git-delta Package Contents on Fedora 36

/usr/bin/delta
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/e09c9c78b47615b1c81c552f69ef3b82b1459a
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/delta.bash
/usr/share/doc/git-delta
/usr/share/doc/git-delta/README.md
/usr/share/licenses/git-delta
/usr/share/licenses/git-delta/LICENSE
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_delta

References

Summary

In this tutorial we learn how to install git-delta on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).