How To Install git-remote-hg on Fedora 36
Introduction
In this tutorial we learn how to install git-remote-hg
on Fedora 36.
What is git-remote-hg
git-remote-hg is the semi-official Mercurial bridge from Git project. Once installed, it allows you to clone, fetch and push to and from Mercurial repositories as if they were Git ones.
We can use yum
or dnf
to install git-remote-hg
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install git-remote-hg.
Install git-remote-hg 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-remote-hg
using dnf
by running the following command:
sudo dnf -y install git-remote-hg
Install git-remote-hg 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-remote-hg
using yum
by running the following command:
sudo yum -y install git-remote-hg
How To Uninstall git-remote-hg on Fedora 36
To uninstall only the git-remote-hg
package we can use the following command:
sudo dnf remove git-remote-hg
git-remote-hg Package Contents on Fedora 36
/usr/bin/git-remote-hg
/usr/share/doc/git-remote-hg
/usr/share/doc/git-remote-hg/LICENSE
/usr/share/man/man1/git-remote-hg.1.gz
References
Summary
In this tutorial we learn how to install git-remote-hg
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).