在 Ubuntu Windows Bash 上安装 Mercurial (hg)
Installing Mercurial (hg) on Bash on Ubuntu on Windows
我想在 Windows Ubuntu Bash 安装 Mercurial (HG)。虽然 Mercurial official site 提供 Windows 和 Ubuntu 的下载,但它不提供 Windows Ubuntu 上的 Bash 的下载(又名 Windows Linux 的子系统)。如何在 Windows 上的 Ubuntu 上为 Bash 安装 Mercurial (HG),如果可能,如何从 Ubuntu 上的 Windows 上的 Bash 安装 Mercurial (HG)。哪个是正确的 Ubuntu 包以及如何安装它?
你可以通过apt
安装mercurial:
$ sudo apt-get install mercurial
如果你想要更新的版本,你可以使用 mercurial PPA:
$ sudo add-apt-repository ppa:mercurial-ppa/releases
$ sudo apt-get update
$ sudo apt-get install mercurial
我想在 Windows Ubuntu Bash 安装 Mercurial (HG)。虽然 Mercurial official site 提供 Windows 和 Ubuntu 的下载,但它不提供 Windows Ubuntu 上的 Bash 的下载(又名 Windows Linux 的子系统)。如何在 Windows 上的 Ubuntu 上为 Bash 安装 Mercurial (HG),如果可能,如何从 Ubuntu 上的 Windows 上的 Bash 安装 Mercurial (HG)。哪个是正确的 Ubuntu 包以及如何安装它?
你可以通过apt
安装mercurial:
$ sudo apt-get install mercurial
如果你想要更新的版本,你可以使用 mercurial PPA:
$ sudo add-apt-repository ppa:mercurial-ppa/releases
$ sudo apt-get update
$ sudo apt-get install mercurial