How To Install git-xcleaner on Fedora 36

In this tutorial we learn how to install git-xcleaner in Fedora 36. git-xcleaner is Interactive git branch removal TUI

Introduction

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

What is git-xcleaner

git-xcleaner helps with deleting unused topic branches using TUI (text user interface). It also offers mechanisms for pre-selecting branches that can be safely removed.

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

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

sudo dnf -y install git-xcleaner

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

sudo yum -y install git-xcleaner

How To Uninstall git-xcleaner on Fedora 36

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

sudo dnf remove git-xcleaner

git-xcleaner Package Contents on Fedora 36

/usr/bin/git-xcleaner
/usr/share/doc/git-xcleaner
/usr/share/doc/git-xcleaner/LICENSE
/usr/share/doc/git-xcleaner/README.md
/usr/share/doc/git-xcleaner/git-xcleaner.1.txt
/usr/share/man/man1/git-xcleaner.1.gz

References

Summary

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