<> = ซอร์สโค้ด = * ซอร์สโค้ดของ[[WhatsNew|เวอร์ชั่นอย่างเป็นทางการ]]ของ Mercurial อยู่ในรูปแบบไฟล์ .tar.gz ที่ [[http://mercurial.selenic.com/release/?M=D|http://mercurial.selenic.com/release/]] * ส่วน repository ที่เก็บ release ที่เสถียรจะอยู่ที่ [[http://selenic.com/repo/hg-stable|hg-stable]] - ถ้าคุณต้องการไฟล์ซอร์สโค้ดที่จัดเก็บโดยอัตโนมัติในแต่ละชั่วโมงสามารถดาวน์โหลดที่ [[http://www.selenic.com/mercurial-stable-snapshot.tar.gz|hourly snapshot]] * Repository หลักสำหรับเวอร์ชั่นที่กำลังพัฒนาอยู่จะอยู่ที่ [[http://selenic.com/repo/hg|hg]] - ถ้าคุณต้องการไฟล์ซอร์สโค้ดที่จัดเก็บโดยอัตโนมัติในแต่ละชั่วโมงสามารถดาวน์โหลดที่ [[http://www.selenic.com/mercurial-snapshot.tar.gz|hourly snapshot]] * นอกจากนั้นลองดู DeveloperRepos สำหรับ repository อื่นๆ ที่คุณสามารถคัดลอกได้ หลังจากดาวน์โหลดซอร์สโค้ดแล้วให้ไปต่อที่ [[UnixInstall|การติดตั้งสำหรับยูนิกซ์]]หรือ[[WindowsInstall|การติดตั้งสำหรับวินโดวส์]]เพื่อดูขั้นตอนการติดตั้ง = แพคเกจแบบไบนารี่ = ถ้าคุณมี Python และ setuptools อยู่แล้วคุณสามารถติดตั้งโดยใช้ [[EasyInstall|easy_install]] ได้เช่นกัน == วินโดวส์ == * [[TortoiseHg]] เป็นแพคเกจติดตั้งแบบครบวงจรที่สนับสนุนการทำงานกับ MS-Explorer ได้ด้วย โดยเวอร์ชั่น 0.8 มาพร้อมกับ Mercurial 1.3 * [[http://mercurial.berkwood.com|Windows]] installer - มี release ล่าสุด, เวอร์ชั่นก่อนหน้า, และก็ snapshots * [[http://bitbucket.org/tortoisehg/stable/downloads/|Nightly builds]] - เวอร์ชั่นถัดไปของ TortoiseHg และ Mercurial คำเตือน: อย่าใช้อันนี้สำหรับ production environment * [[http://cygwin.com/|cygwin]] ก็สามารถใช้ Mercurial ได้ == Mac OS X == * แพคเกจสำหรับ [[http://mercurial.berkwood.com|Mac OS X]] (คุณอาจจะต้องเพิ่ม `export LC_ALL=en_US.UTF-8` และ `export LANG=en_US.UTF-8` เข้าไปใน `~/.profile` ของคุณ) * [[http://pdb.finkproject.org/pdb/package.php/mercurial-py25|fink]] - 1.2.1 * [[http://www.macports.org/|macports]]: ติดตั้งโดยใช้ 'sudo port install mercurial' - 1.2.1 == ลีนุกซ์ (แบบ .deb) == * '''Debian''' * [[http://packages.debian.org/squeeze/mercurial|Debian squeeze (testing)]] - 1.2.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 * '''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 (คำเตือน: โค้ดไม่ได้ถูกทดสอบ) * [[https://launchpad.net/~mercurial-ppa/+archive/snapshots|Snapshots]] - daily snapshot of unstable DeveloperRepos (คำเตือน: โค้ดไม่ได้ถูกทดสอบ) Mercurial (ตั้งแต่เวอร์ชั่น 1.0 เป็นต้นไป) จะแบ่งแพคเกจการติดตั้งสำหรับ Debian ออกเป็นสองแพคเกจคือ ''mercurial'' และ ''mercurial-common'' - คุณต้องแคร์เกี่ยวกับเรื่องนี้ถ้าคุณดาวน์โหลดไฟล์ .deb เพื่อติดตั้งเองด้วยมือ - ถ้าคุณใช้ APT เพื่อติดตั้ง ''mercurial'' ก็ไม่ต้องใส่ใจอะไร == ลีนุกซ์ (แบบ .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 == ลีนุกซ์ (แบบอื่นๆ) == * [[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.2.1 * [[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 7-10 packages, x86/Solaris 8-10 packages - 1.1.2 == 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 = การใช้ easy_install = ถ้าคุณมี Python อยู่แล้ว คุณสามารถติดตั้ง Mercurial เวอร์ชั่นล่าสุดได้โดยใช้ {{{easy_install}}}: {{{ easy_install -U mercurial }}} วิธีนี้เป็นวิธีที่ง่ายที่สุดสำหรับติดตั้งหรืออัพเกรด Mercurial ถ้าคุณยังไม่มี {{{easy_install}}} คุณสามารถดาวน์โหลดได้ที่เว็บ http://peak.telecommunity.com/DevCenter/EasyInstall หมายเหตุ: คุณอาจจะต้องติดตั้งแพคเกจ {{{python-dev}}} ด้วยเพื่อใช้งาน {{{easy_install}}}