How To Install mercurial-hgk on AlmaLinux 8

In this tutorial we learn how to install mercurial-hgk in AlmaLinux 8. mercurial-hgk is Hgk interface for mercurial

Introduction

In this tutorial we learn how to install mercurial-hgk on AlmaLinux 8.

What is mercurial-hgk

A Mercurial extension for displaying the change history graphically using Tcl/Tk. Displays branches and merges in an easily understandable way and shows diffs for each revision. Based on gitk for the git SCM. Adds the “hg view” command. See http documentation.

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

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

sudo dnf -y install mercurial-hgk

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

sudo yum -y install mercurial-hgk

How To Uninstall mercurial-hgk on AlmaLinux 8

To uninstall only the mercurial-hgk package we can use the following command:

sudo dnf remove mercurial-hgk

References

Summary

In this tutorial we learn how to install mercurial-hgk on AlmaLinux 8 using yum and dnf.