How To Install java-diff-utils-jgit on Fedora 36

In this tutorial we learn how to install java-diff-utils-jgit in Fedora 36. java-diff-utils-jgit is Java Diff Utils extension using jgit difference algorithms

Introduction

In this tutorial we learn how to install java-diff-utils-jgit on Fedora 36.

What is java-diff-utils-jgit

The Java Diff Utils library is an open source library for performing comparison operations between texts generating or parsing unified diffs, generating diff output for easy display (e.g., side-by-side view), and so on. This package contains an extension to the main package that uses jgit’s difference algorithms.

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

Install java-diff-utils-jgit 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 java-diff-utils-jgit using dnf by running the following command:

sudo dnf -y install java-diff-utils-jgit

Install java-diff-utils-jgit 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 java-diff-utils-jgit using yum by running the following command:

sudo yum -y install java-diff-utils-jgit

How To Uninstall java-diff-utils-jgit on Fedora 36

To uninstall only the java-diff-utils-jgit package we can use the following command:

sudo dnf remove java-diff-utils-jgit

java-diff-utils-jgit Package Contents on Fedora 36

/usr/share/java/java-diff-utils
/usr/share/java/java-diff-utils/java-diff-utils-jgit.jar
/usr/share/maven-metadata/java-diff-utils-java-diff-utils-jgit.xml
/usr/share/maven-poms/java-diff-utils
/usr/share/maven-poms/java-diff-utils/java-diff-utils-jgit.pom

References

Summary

In this tutorial we learn how to install java-diff-utils-jgit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).