How To Install mercurial-hgk.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mercurial-hgk.x86_64 on Amazon Linux 2.
What is mercurial-hgk.x86_64
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 to install mercurial-hgk.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mercurial-hgk.x86_64.
Install mercurial-hgk.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mercurial-hgk.x86_64 using yum by running the following command:
sudo yum -y install mercurial-hgk.x86_64
How To Uninstall mercurial-hgk.x86_64 on Amazon Linux 2
To uninstall only the mercurial-hgk.x86_64 package we can use the following command:
sudo yum remove mercurial-hgk.x86_64
mercurial-hgk.x86_64 Package Contents on Amazon Linux 2
/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.x86_64 on Amazon Linux 2 using yum.