How To Install mercurial-hgk on Rocky Linux 8
Introduction
In this tutorial we learn how to install mercurial-hgk
on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the mercurial-hgk
package we can use the following command:
sudo dnf remove mercurial-hgk
mercurial-hgk Package Contents on Rocky Linux 8
/etc/mercurial/hgrc.d/hgk.rc
/usr/lib64/python2.7/site-packages/hgext/hgk.py
/usr/lib64/python2.7/site-packages/hgext/hgk.pyc
/usr/lib64/python2.7/site-packages/hgext/hgk.pyo
/usr/libexec/mercurial
/usr/libexec/mercurial/hgk
References
Summary
In this tutorial we learn how to install mercurial-hgk
on Rocky Linux 8 using yum and dnf.