Differences between revisions 124 and 128 (spanning 4 versions)
Revision 124 as of 2010-10-12 07:29:17
Size: 7786
Comment:
Revision 128 as of 2010-10-18 07:38:55
Size: 7838
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers 2
= Download =

Source archives and binary packages for various systems. See WhatsNew and ReleaseNotes for information on upgrading.
Line 5: Line 10:
= 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.
== Binary packages ==
Line 11: Line 12:
After getting the source, continue to UnixInstall or WindowsInstall for help with installing.

= Binary packages =
== Windows ==
=== Windows ===
Line 24: Line 22:
== Mac OS X == === Mac OS X ===
Line 29: Line 27:
== Linux (.deb) == === Linux (.deb) ===
Line 47: Line 45:
== Linux (.rpm) == === Linux (.rpm) ===
Line 56: Line 54:
An rpm package can be built from a Mercurial source repository with ''contrib/buildrpm''. It has currently mostly been tested on Fedora. An RPM package can be built from a Mercurial source repository with ''contrib/buildrpm''. It has currently mostly been tested on Fedora.
Line 58: Line 56:
== Linux (others) ==
 * [[http://archlinux.org/packages/search/?repo=all&category=all&q=mercurial&lastupdate=&limit=50|Arch Linux]] - 1.2.1
=== Linux (others) ===
 * [[http://archlinux.org/packages/?q=mercurial|Arch Linux]] - 1.6.4
Line 65: Line 63:
== Solaris == === Solaris ===
Line 70: Line 68:

== AIX ==
=== AIX ===
Line 74: Line 71:
== BSD == === BSD ===
Line 79: Line 76:
= Using easy_install =
Mercurial can also be installed from [[http://pypi.python.org/pypi/Mercurial/|pypi]] with {{{easy_install}}}. It will however mostly just download and make a partial installation from source as described above. The installation will not be complete, and there have been reports that it doesn't work on OS X.
== Source packages ==
Line 82: Line 78:
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.  * 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.
Line 89: Line 96:

----
CategoryProject

Download

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

(Other languages: Français 中文 )

1. Binary packages

1.1. Windows

/!\ Like TortoiseSVN, we recommend to turn off the indexing service on the working copies and repositories, and exclude them from virus scans. The following installers can be used from Win2K on:

Most of the above installers are from thg-winbuild, which has nightly builds of Mercurial and TortoiseHg - and installers for installing Mercurial as Python packages.

1.2. Mac OS X

  • Mac OS X packages (you may have to add 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.4.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)

  • RPMforge: packages for RHEL 5 and CentOS 5; install using yum install mercurial - 1.5

  • Mandriva: install with urpmi mercurial - 1.2.1

  • 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.0.2

  • OpenPKG - 1.2.1

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

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.

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

easy_install -U mercurial


CategoryProject

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