Size: 25
Comment:
|
Size: 6434
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Describe Download here. | ''(Other languages: [[FrenchDownload|Français]] )'' <<TableOfContents>> = 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 get clone the hg source. After getting the source, continue to UnixInstall or WindowsInstall for help with installing. = Binary packages = If you have Python and setuptools installed, you can also use [[EasyInstall|easy_install]]. == Windows == * [[TortoiseHg]] all-in-one installer with MS-Explorer integration. Version 0.9.1 includes Mercurial 1.4,1 ([[http://bitbucket.org/tortoisehg/stable/wiki/download|download]]) * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/Mercurial-1.4.1-1.exe|Mercurial-1.4.1]] installer. * [[http://mercurial.berkwood.com|Minimal]] Windows installer - standalone or with existing python (latest and prior releases, snapshots) * [[http://cygwin.com/|cygwin]] can install mercurial. * [[http://bitbucket.org/tortoisehg/thg-winbuild/downloads/|thg-winbuild]] nightly builds of Mercurial and TortoiseHg /!\ Note that Mercurial on Windows is known to be incompatible with Avira Antivir Personal (see [[http://mercurial.selenic.com/bts/issue1820|issue1820]]) == Mac OS X == * [[http://mercurial.berkwood.com|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`) * [[http://pdb.finkproject.org/pdb/package.php/mercurial-py25|fink]] - 1.2.1 * [[http://www.macports.org/|macports]]: install with 'sudo port install mercurial' - 1.2.1 == Linux (.deb) == * '''Debian''' * [[http://packages.debian.org/squeeze/mercurial|Debian squeeze (testing)]] - 1.3.1 * [[http://packages.debian.org/lenny/mercurial|Debian lenny (stable)]] - 1.0.1 * '''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 * '''Launchpad PPAs''' (carrying packages for Hardy, Intrepid, Jaunty and Karmic) * [[https://launchpad.net/~mercurial-ppa/+archive/releases|Releases]] - 1.3 * [[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}}} - 1.2.1 * Fedora: install with {{{yum install mercurial}}} (see also mercurial-hgk, emacs-mercurial, emacs-mercurial-el) - [[http://koji.fedoraproject.org/koji/packageinfo?packageID=2518|beta releases]] * [[http://repos.opensuse.org/devel:/tools:/scm|OpenSUSE]] - 1.2.1 * [[http://arklinux.osuosl.org/dockyard-devel/SRPMS/|Ark Linux]] - 1.0.2 * [[http://www.openpkg.org/product/packages/?package=mercurial|OpenPKG]] - 1.2.1 * CentOS 5: install with {{{yum install mercurial}}} - 1.0 == Linux (others) == * [[http://archlinux.org/packages/search/?repo=all&category=all&q=mercurial&lastupdate=&limit=50|Arch Linux]] - 1.2.1 * [[http://packages.gentoo.org/package/dev-util/mercurial|Gentoo ebuild]]: install with {{{emerge mercurial}}} - 1.3.1 (1.4 in unstable) * [[http://www.t2-project.org/packages/mercurial.html|T2 SDE]] - 1.3 * [[http://ftp.osuosl.org/pub/slackware/slackware-12.2/slackware/d/|Slackware 12.2]] - 1.0.2 * [[http://ipkg.nslu2-linux.org/feeds/optware/|Optware cross compilation ipk]] - latest for Python 2.4 and 2.5 == Solaris == * [[http://www.blastwave.org/packages.php/mercurial|blastwave, solaris 8 to 10 package]] - 1.0 * [[http://sunfreeware.com|sunfreeware.com]] - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 1.3.1 == AIX == * [[http://www.lunch.org.uk/wiki/aix_packages|Mercurial and supporting RPMs, for AIX 5.2 and later]] - 1.4 == BSD == * [[http://www.freebsd.org/cgi/url.cgi?ports/devel/mercurial/pkg-descr|FreeBSD Mercurial port]] ([[http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/mercurial/|port-webdir]]). [[ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/devel/mercurial-1.2.1.tbz|i386 package]] - 1.2.1 * Requires [[http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/python25/|python25]] (i386 package: [[ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/lang/python25-2.5.2_1.tbz|python25-2.5.2_1.tbz]]). Use [[http://www.freebsd.org/cgi/man.cgi?query=pkg_add&apropos=0&sektion=0&manpath=FreeBSD+6.3-RELEASE&format=html|pkg_add]] for installing. * [[ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/mercurial/README.html|NetBSD]] packages compiled from [[http://pkgsrc.se/devel/mercurial|pkgsrc]] - 1.2.1 = Using easy_install = If you already have Python installed, you can install the latest version of Mercurial using {{{easy_install}}}: {{{ easy_install -U mercurial }}} This is also the easiest way of installing a Mercurial newer than the one provided by your distribution. If you have Python, but not {{{easy_install}}}, grab it from http://peak.telecommunity.com/DevCenter/EasyInstall. Note: you may need the {{{python-dev}}} package to run {{{easy_install}}}. |
(Other languages: Français )
Contents
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 get clone the hg source.
After getting the source, continue to UnixInstall or WindowsInstall for help with installing.
Binary packages
If you have Python and setuptools installed, you can also use easy_install.
1. Windows
TortoiseHg all-in-one installer with MS-Explorer integration. Version 0.9.1 includes Mercurial 1.4,1 (download)
Mercurial-1.4.1 installer.
Minimal Windows installer - standalone or with existing python (latest and prior releases, snapshots)
cygwin can install mercurial.
thg-winbuild nightly builds of Mercurial and TortoiseHg
Note that Mercurial on Windows is known to be incompatible with Avira Antivir Personal (see issue1820)
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.2.1
3. Linux (.deb)
Debian
Debian squeeze (testing) - 1.3.1
Debian lenny (stable) - 1.0.1
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
Launchpad PPAs (carrying packages for Hardy, Intrepid, Jaunty and Karmic)
Releases - 1.3
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.
4. Linux (.rpm)
Mandriva: install with urpmi mercurial - 1.2.1
Fedora: install with yum install mercurial (see also mercurial-hgk, emacs-mercurial, emacs-mercurial-el) - beta releases
OpenSUSE - 1.2.1
Ark Linux - 1.0.2
OpenPKG - 1.2.1
CentOS 5: install with yum install mercurial - 1.0
5. Linux (others)
Arch Linux - 1.2.1
Gentoo ebuild: install with emerge mercurial - 1.3.1 (1.4 in unstable)
T2 SDE - 1.3
Slackware 12.2 - 1.0.2
Optware cross compilation ipk - latest for Python 2.4 and 2.5
6. Solaris
sunfreeware.com - SPARC/Solaris 2.6-10 packages, x86/Solaris 8-10 packages - 1.3.1
7. AIX
8. BSD
FreeBSD Mercurial port (port-webdir). i386 package - 1.2.1
Requires python25 (i386 package: python25-2.5.2_1.tbz). Use pkg_add for installing.
Using easy_install
If you already have Python installed, you can install the latest version of Mercurial using easy_install:
easy_install -U mercurial
This is also the easiest way of installing a Mercurial newer than the one provided by your distribution.
If you have Python, but not easy_install, grab it from http://peak.telecommunity.com/DevCenter/EasyInstall.
Note: you may need the python-dev package to run easy_install.