Differences between revisions 509 and 517 (spanning 8 versions)
Revision 509 as of 2016-02-04 19:46:06
Size: 11176
Comment: updated Inno Setup installers
Revision 517 as of 2016-04-13 12:23:08
Size: 10753
Editor: rcl
Comment: remove redundant URL, updated BSD version to 3.7
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with TortoiseHg 3.7.1 and Mercurial 3.7.1 (alternate download: [[https://bitbucket.org/tortoisehg/files/downloads|Bitbucket]])
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.1-x86.msi|Mercurial-3.7.1 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.1-x64.msi|Mercurial-3.7.1 (64-bit msi)]], needs admin rights to install, less friendly with manually installed extensions than !InnoSetup version
 * [[http://mercurial.selenic.com/release/windows/Mercurial-3.7.1.exe|Mercurial-3.7.1 (32-bit exe)]] / [[http://mercurial.selenic.com/release/windows/Mercurial-3.7.1-x64.exe|Mercurial-3.7.1 (64-bit exe)]], does not need admin rights to install (!InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.1.win32-py2.7.msi|Mercurial-3.7.1 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.1.win-amd64-py2.7.msi|Mercurial-3.7.1 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.10/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.
 * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with TortoiseHg 3.7.3 and Mercurial 3.7.3 (alternate download: [[https://bitbucket.org/tortoisehg/files/downloads|Bitbucket]])
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3-x86.msi|Mercurial-3.7.3 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3-x64.msi|Mercurial-3.7.3 (64-bit msi)]], needs admin rights to install, less friendly with manually installed extensions than !InnoSetup version
 * [[http://mercurial.selenic.com/release/windows/Mercurial-3.7.3.exe|Mercurial-3.7.3 (32-bit exe)]] / [[http://mercurial.selenic.com/release/windows/Mercurial-3.7.3-x64.exe|Mercurial-3.7.3 (64-bit exe)]], does not need admin rights to install (!InnoSetup based).
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3.win32-py2.7.msi|Mercurial-3.7.3 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.7.3.win-amd64-py2.7.msi|Mercurial-3.7.3 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.10/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.
Line 27: Line 27:
 * TortoiseHg for Mac available [[https://bitbucket.org/tortoisehg/files/downloads|here]] - 3.7.2
Line 42: Line 43:
  * '''Launchpad PPAs''' (carrying packages for Lucid, Precise, Trusty)
   * [[https://launchpad.net/~mercurial-ppa/+archive/releases|Releases]] - 3.3.2
   * [[https://launchpad.net/~mercurial-ppa/+archive/stable-snapshots|Stable snapshots]] - daily snapshot of stable DeveloperRepos (warning: untested code)
   * [[https://launchpad.net/~mercurial-ppa/+archive/snapshots|Snapshots]] - daily snapshot of unstable DeveloperRepos (warning: untested code)
Line 83: Line 80:
 * [[http://archlinux.org/packages/?q=mercurial|Arch Linux]] - 3.5.1  * [[http://archlinux.org/packages/?q=mercurial|Arch Linux]] - 3.7.3
Line 91: Line 88:
 * [[http://www.opencsw.org|OpenCSW]]: [[http://www.opencsw.org/packages/mercurial|solaris package mercurial-3.5, sparc/solaris, x86/solaris]].  * [[http://www.opencsw.org|OpenCSW]]: [[http://www.opencsw.org/packages/mercurial|solaris package mercurial-3.7.2, sparc/solaris, x86/solaris]].
Line 97: Line 94:
 * [[http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/|FreeBSD]]; use [[http://freebsd.org/cgi/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=html|pkg_add]] for installing - 3.6 (on 2015-12-04)  * [[http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/|FreeBSD]]; use [[http://freebsd.org/cgi/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=html|pkg_add]] for installing - 3.7 (on 2016-04-13)
Line 100: Line 97:

 * http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/

Download

Source archives and binary packages for various systems. See WhatsNew for information on upgrading.

1. Binary packages

1.1. Windows

/!\ Like TortoiseSVN, we recommend turning off the indexing service on the working copies and repositories, and excluding them from virus scans.

The following installers can be used from Windows XP onwards:

Most of the above installers are from thg-winbuild, which has nightly builds of Mercurial and TortoiseHg.

1.2. Mac OS X

  • Mac OS X packages are available on the downloads page

  • Fink: install with 'fink install mercurial' - 3.3

  • macports: install with 'sudo port install mercurial' - 3.3

  • homebrew: install with 'brew install mercurial' - 3.4.1

  • TortoiseHg for Mac available here - 3.7.2

1.3. Linux (.deb)

Mercurial (from 1.0 onwards) is packaged for Debian-related distributions as two packages, mercurial and mercurial-common - you only need to care about this if you are downloading .deb files for manual installation - otherwise, APT dependency handling will take care of this for you when you install mercurial.

1.4. Linux (.rpm)

Since Mercurial version 3.4, the Mercurial project provides packages for the following systems:

You can download, install and upgrade the packages manually.

You can also add it as a "yum" package repository and get automatic updates: Add the following file at /etc/yum.repos.d/mercurial.selenic.com.repo and run yum install mercurial.

[mercurial.selenic.com]
name=mercurial.selenic.com
baseurl=https://www.mercurial-scm.org/release/centos$releasever
enabled=1
# Temporary until we get a serious signing scheme in place,
# check https://www.mercurial-scm.org/wiki/Download again
gpgcheck=0

/!\ Mercurial is stable and won't break on automatic updates. Mercurial do however not promise API stability so an update might break extensions or tools using Mercurial internals.

Similar Fedora packages can be built from a Mercurial source repository with commands like make docker-fedora21. "Unsupported" platforms can use contrib/buildrpm directly.

You can also install the package from your distribution

  • Mandriva: install with urpmi mercurial - latest revision available

  • Fedora - latest version is available within few days after release, install with yum install '*mercurial*'

  • Fedora Projects EPEL for RHEL and CentOS 5: 1.3.1, install with yum install '*mercurial*'

  • openSUSE - latest version is available shortly after release in the devel:tools:scm repository

  • Ark Linux - 1.6.2

  • OpenPKG - 1.4

1.5. Linux (others)

1.6. Solaris

1.7. AIX

1.8. BSD

  • FreeBSD; use pkg_add for installing - 3.7 (on 2016-04-13)

  • NetBSD packages compiled from pkgsrc - always very up-to-date, currently 2.6

1.9. Plan 9 from Bell Labs

  • To build from source, see: Plan9FromBellLabs

  • Binary packages are available from fgb's contrib:

% contrib/install stallion/mercurial

2. Source packages

After getting the source, continue to UnixInstall or WindowsInstall for help with installing.

3. Using pip

Mercurial can also be installed from PyPI with pip, which has shipped with Python since 2.7.9 and 3.4 or can be installed using the instructions on https://pip.pypa.io/en/stable/installing.html.

To install with pip you must have the same C compiler used to compile Python installed as well as the development headers for Python (typically called python-dev or python-devel on Linux).

You may then install Mercurial simply by executing pip install Mercurial.

4. Using easy_install

/!\ easy_install is a legacy installation method which has been superseded by pip which should be preferred over easy_install. This method should not be used and is not recommended and will most likely cause conflict with other installs of Mercurial.

Mercurial can also be installed from pypi with easy_install. You will need Python and the C compiler used to build it and easy_install. easy_install might be available in a python-dev or python-setuptools-devel package for your platform or you can grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.

/!\ Unable to find vcvarsall.bat fix error with mingw and install mercurial 1.7.3 with python 2.7

Create a file in C:\Python26\Lib\distutils and call it distutils.cfg
[build]
compiler=mingw32

With the right prerequisites you can install the latest version of Mercurial using:

easy_install -U mercurial


CategoryProject

Français, 中文, 日本語

Download (last edited 2021-10-01 20:25:20 by CarlReinke)