Differences between revisions 317 and 318
Revision 317 as of 2012-11-02 17:26:13
Size: 9091
Editor: mpm
Comment:
Revision 318 as of 2012-11-06 13:09:54
Size: 9081
Editor: rcl
Comment: updated Mercurial MSI and Python module installers
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.3.2-x86.msi|Mercurial-2.3.2 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.3.2-x64.msi|Mercurial-2.3.2 (64-bit msi)]], needs admin rights to install.  * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.4.0-x86.msi|Mercurial-2.4 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.4.0-x64.msi|Mercurial-2.4 (64-bit msi)]], needs admin rights to install.
Line 17: Line 17:
 * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.3.2.win32-py2.7.exe|Mercurial-2.3.2 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.3.2.win-amd64-py2.7.exe|Mercurial-2.3.2 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.3/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.  * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.4.win32-py2.7.exe|Mercurial-2.4 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-2.4.win-amd64-py2.7.exe|Mercurial-2.3.2 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.3/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies.

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 (old versions may require adding export LC_ALL=en_US.UTF-8 and export LANG=en_US.UTF-8 to your ~/.profile)

  • fink - 1.2.1

  • macports: install with 'sudo port install mercurial' - 1.9 (on 2011-07-04)

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)

  • 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

An RPM package can be built from a Mercurial source repository with contrib/buildrpm. It has currently mostly been tested on Fedora.

1.5. Linux (others)

1.6. Solaris

1.7. AIX

1.8. BSD

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 easy_install

/!\ This method is not recommended and may 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)