I'd like to install Mercurial (HG) on Bash on Ubuntu on Windows. Though Mercurial official site offers download for both Windows and Ubuntu, it does not offer a download for Bash on Ubuntu on Windows (AKA Windows Subsystem for Linux). How can I install Mercurial (HG) for Bash on Ubuntu on Windows, and if possible from Bash on Ubuntu on Windows. Which is the right Ubuntu package and how to install it?
You can install mercurial via apt
:
$ sudo apt-get install mercurial
If you want a more up-to-date version you can use the mercurial PPA:
$ sudo add-apt-repository ppa:mercurial-ppa/releases
$ sudo apt-get update
$ sudo apt-get install mercurial