Ben Carp
Ben Carp

Reputation: 26608

Installing Mercurial (hg) on Bash on Ubuntu on Windows

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?

Upvotes: 0

Views: 3820

Answers (1)

ngoldbaum
ngoldbaum

Reputation: 5590

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

Upvotes: 4

Related Questions