586
Comment:
|
9094
updated Inno Setup installers
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Download Mercurial == | #pragma section-numbers 2 = Download = Source archives and binary packages for various systems. See WhatsNew for information on upgrading. |
Line 3: | Line 5: |
To download the most recent release of ["Mercurial"], find the most recent version at [http://www.selenic.com/mercurial/release/?M=D http://www.selenic.com/mercurial/release/]. | <<TableOfContents>> |
Line 5: | Line 7: |
Hourly snapshots of the latest versions: | == Binary packages == === Windows === /!\ '''Like TortoiseSVN, [[http://www.selenic.com/pipermail/mercurial/2010-January/029680.html|we recommend]] turning off the indexing service on the working copies and repositories, and excluding them from virus scans.''' |
Line 7: | Line 11: |
* [http://www.selenic.com/mercurial-snapshot.tar.gz Development Branch] * [http://www.selenic.com/mercurial-stable-snapshot.tar.gz Stable Branch] |
The following installers can be used from Windows XP onwards: |
Line 10: | Line 13: |
Once you have the bits, continue on to: | * [[http://tortoisehg.bitbucket.org/download/index.html|TortoiseHg with Windows Explorer "shell" integration]] all-in-one installer with TortoiseHg 3.1.1 and Mercurial 3.1.1 (alternate download: [[https://bitbucket.org/tortoisehg/files/downloads|Bitbucket]]) * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.1.1-x86.msi|Mercurial-3.1.1 (32-bit msi)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.1.1-x64.msi|Mercurial-3.1.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.1.2.exe|Mercurial-3.1.2 (32-bit exe)]] / [[http://mercurial.selenic.com/release/windows/Mercurial-3.1.2-x64.exe|Mercurial-3.1.2 (64-bit exe)]], does not need admin rights to install (!InnoSetup based). * [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.1.1.win32-py2.7.exe|Mercurial-3.1.1 (32-bit py2.7)]] / [[https://bitbucket.org/tortoisehg/files/downloads/mercurial-3.1.1.win-amd64-py2.7.exe|Mercurial-3.1.1 (64-bit py2.7)]], installs Mercurial source as Python modules and thus requires [[http://www.python.org/download/releases/2.7.5/|Python 2.7]] installed. This is recommended for hgweb setups and extensions with non-standard dependencies. * [[http://cygwin.com/|cygwin]] can install Mercurial, but the cygwin abstraction layers introduces a potential source of error and is not really recommended. * HackableMercurial is a self-contained install that allows easy hacking on the Mercurial source and testing of unreleased versions |
Line 12: | Line 20: |
* WindowsInstall * UnixInstall (good for Linux and Mac``OS X, too) * DeveloperRepos (repositories for various Mercurial development) |
Most of the above installers are from [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]], which has nightly builds of Mercurial and !TortoiseHg. === Mac OS X === * Mac OS X packages are available on the [[http://mercurial.selenic.com/downloads|downloads page]] * [[http://pdb.finkproject.org/pdb/package.php/mercurial-py25|fink]] - 1.2.1 * [[https://trac.macports.org/browser/trunk/dports/devel/mercurial/Portfile|macports]]: install with 'sudo port install mercurial' - 1.9 (on 2011-07-04) === Linux (.deb) === * '''Debian''' * [[http://packages.debian.org/sid/mercurial|Debian sid (unstable)]] - 2.8.2. * [[http://packages.debian.org/jessie/mercurial|Debian jessie (testing)]] - 2.7.2. * [[http://packages.debian.org/wheezy/mercurial|Debian wheezy (stable)]] - 2.2.2. (2.7.2 available as a [[http://packages.debian.org/wheezy-backports/mercurial|wheezy backport]]) * [[http://packages.debian.org/squeeze/mercurial|Debian squeeze (oldstable)]] - 1.6.4 (2.2.2 available as a [[http://packages.debian.org/squeeze-backports/mercurial|squeeze backport]]) * '''Ubuntu''' * [[http://packages.ubuntu.com/hardy/mercurial|Ubuntu Hardy]] - 0.9.5 ([[http://packages.ubuntu.com/hardy-backports/mercurial|1.0.1]] available if you [[https://help.ubuntu.com/community/UbuntuBackports|enable backports]]) * [[http://packages.ubuntu.com/intrepid/mercurial|Ubuntu Intrepid]] - 1.0.1 * [[http://packages.ubuntu.com/jaunty/mercurial|Ubuntu Jaunty]] - 1.1.2 * [[http://packages.ubuntu.com/karmic/mercurial|Ubuntu Karmic]] - 1.3.1 * [[http://packages.ubuntu.com/lucid/mercurial|Ubuntu Lucid]] - 1.4.3 * [[http://packages.ubuntu.com/maverick/mercurial|Ubuntu Maverick]] - 1.6.3-1 * [[http://packages.ubuntu.com/natty/mercurial|Ubuntu Natty]] - 1.7.5-1ubuntu1 * '''Launchpad PPAs''' (carrying packages for Lucid, Precise, Trusty) * [[https://launchpad.net/~mercurial-ppa/+archive/releases|Releases]] - 3.0.1 * [[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) 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''. === Linux (.rpm) === * [[http://rpmfind.net/linux/rpm2html/search.php?query=mercurial&submit=Search+...&system=mandriva&arch=|Mandriva]]: install with {{{urpmi mercurial}}} - latest revision available * [[http://koji.fedoraproject.org/koji/packageinfo?packageID=2518|Fedora]] - latest version is available within few days after release, install with {{{yum install '*mercurial}}}*' * [[http://fedoraproject.org/wiki/EPEL|Fedora Projects EPEL]] for RHEL and CentOS 5: 1.3.1, install with {{{yum install '*mercurial}}}*' * [[http://download.opensuse.org/repositories/devel:/tools:/scm/|openSUSE]] - latest version is available shortly after release in the `devel:tools:scm` repository * [[http://arklinux.osuosl.org/dockyard-devel/SRPMS/|Ark Linux]] - 1.6.2 * [[http://www.openpkg.org/product/packages/?package=mercurial|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. === Linux (others) === * [[http://archlinux.org/packages/?q=mercurial|Arch Linux]] - 3.0.2 * [[http://packages.gentoo.org/package/dev-vcs/mercurial|Gentoo ebuild]]: install with {{{emerge mercurial}}} - 2.4.2 (2.5.1/2.6 in unstable) * [[http://www.t2-project.org/packages/mercurial.html|T2 SDE]] - 3.0.2 * [[http://ftp.osuosl.org/pub/slackware/slackware-14.1/slackware/d/|Slackware 14.1]] - 2.7.2 * [[http://ipkg.nslu2-linux.org/feeds/optware/|Optware cross compilation ipk]] - latest for Python 2.4 and 2.5 === Solaris === * [[http://unixpackages.com/packages/package-matrix?frm_search=mercurial|unixpackages.com]] - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 2.3 * [[http://www.opencsw.org|OpenCSW]]: [[http://www.opencsw.org/packages/mercurial|solaris package mercurial-2.9, sparc/solaris, x86/solaris]]. === AIX === * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial for AIX 5.2 and later]] - 3.0.2 === BSD === * [[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 - 1.9 (on 2011-07-06) * [[ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/mercurial/README.html|NetBSD]] packages compiled from [[http://pkgsrc.se/devel/mercurial|pkgsrc]] - always very up-to-date, currently 2.6 * http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/ === Plan 9 from Bell Labs === * To build from source, see: Plan9FromBellLabs * Binary packages are available from fgb's contrib: {{{ % contrib/install stallion/mercurial }}} == Source packages == * Source code of [[WhatsNew|released versions]] of Mercurial can be downloaded as usual .tar.gz files at [[http://mercurial.selenic.com/release/?M=D|http://mercurial.selenic.com/release/]]. * The [[http://selenic.com/repo/hg-stable|hg-stable]] repository leads to stable releases - download [[http://selenic.com/repo/hg-stable/archive/tip.tar.gz|snapshot]]. * The [[http://selenic.com/repo/hg|hg]] repository is the main development repository - download [[http://selenic.com/repo/hg/archive/tip.tar.gz|snapshot]]. * Check DeveloperRepos for other relevant developer repositories where you can clone the hg source. After getting the source, continue to UnixInstall or WindowsInstall for help with installing. == Using easy_install == /!\ This method is not recommended and may conflict with other installs of Mercurial. Mercurial can also be installed from [[http://pypi.python.org/pypi/Mercurial/|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. /!\ [[http://code.google.com/p/rdflib/issues/detail?id=104|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 [[FrenchDownload|Français]], [[ChineseDownload|中文]], [[JapaneseDownload|日本語]] |
Download
Source archives and binary packages for various systems. See WhatsNew for information on upgrading.
Contents
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:
TortoiseHg with Windows Explorer "shell" integration all-in-one installer with TortoiseHg 3.1.1 and Mercurial 3.1.1 (alternate download: Bitbucket)
Mercurial-3.1.1 (32-bit msi) / Mercurial-3.1.1 (64-bit msi), needs admin rights to install, less friendly with manually installed extensions than InnoSetup version
Mercurial-3.1.2 (32-bit exe) / Mercurial-3.1.2 (64-bit exe), does not need admin rights to install (InnoSetup based).
Mercurial-3.1.1 (32-bit py2.7) / Mercurial-3.1.1 (64-bit py2.7), installs Mercurial source as Python modules and thus requires Python 2.7 installed. This is recommended for hgweb setups and extensions with non-standard dependencies.
cygwin can install Mercurial, but the cygwin abstraction layers introduces a potential source of error and is not really recommended.
HackableMercurial is a self-contained install that allows easy hacking on the Mercurial source and testing of unreleased versions
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 - 1.2.1
macports: install with 'sudo port install mercurial' - 1.9 (on 2011-07-04)
1.3. Linux (.deb)
Debian
Debian sid (unstable) - 2.8.2.
Debian jessie (testing) - 2.7.2.
Debian wheezy (stable) - 2.2.2. (2.7.2 available as a wheezy backport)
Debian squeeze (oldstable) - 1.6.4 (2.2.2 available as a squeeze backport)
Ubuntu
Ubuntu Hardy - 0.9.5 (1.0.1 available if you enable backports)
Ubuntu Intrepid - 1.0.1
Ubuntu Jaunty - 1.1.2
Ubuntu Karmic - 1.3.1
Ubuntu Lucid - 1.4.3
Ubuntu Maverick - 1.6.3-1
Ubuntu Natty - 1.7.5-1ubuntu1
Launchpad PPAs (carrying packages for Lucid, Precise, Trusty)
Releases - 3.0.1
Stable snapshots - daily snapshot of stable DeveloperRepos (warning: untested code)
Snapshots - daily snapshot of unstable DeveloperRepos (warning: untested code)
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)
Arch Linux - 3.0.2
Gentoo ebuild: install with emerge mercurial - 2.4.2 (2.5.1/2.6 in unstable)
T2 SDE - 3.0.2
Slackware 14.1 - 2.7.2
Optware cross compilation ipk - latest for Python 2.4 and 2.5
1.6. Solaris
unixpackages.com - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 2.3
OpenCSW: solaris package mercurial-2.9, sparc/solaris, x86/solaris.
1.7. AIX
Mercurial for AIX 5.2 and later - 3.0.2
1.8. BSD
NetBSD packages compiled from pkgsrc - always very up-to-date, currently 2.6
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/
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
Source code of released versions of Mercurial can be downloaded as usual .tar.gz files at http://mercurial.selenic.com/release/.
The hg-stable repository leads to stable releases - download snapshot.
The hg repository is the main development repository - download snapshot.
Check DeveloperRepos for other relevant developer repositories where you can clone the hg source.
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