easily installing modern Mercurial on RHEL6

Hollis Blanchard hollis_blanchard at mentor.com
Wed Oct 11 17:15:26 UTC 2017


I've been experimenting with building a modern Mercurial environment on 
RHEL6. I need to include some external extensions (hg_experimental and 
hg-git), but my distribution is ancient I'm not even an administrator. I 
wanted to make it as easy as possible to install this environment on 
anybody's workstation, to remove initial installation as a barrier to 
adoption.

The attached script is not RHEL-specific, but it expects users to 
provide gcc 4.7 and python 2.7. I'm considering changing it to pull gcc 
4.7 and lz4 packages from EPEL, which would tie it to RHEL...

It's certainly not a General Purpose Installer, but it works well for me 
and I'm sharing it in case it's useful to others in a similar situation. 
With improvements, would this be useful as a contrib/ script, or just a 
blog post somewhere?

-- 
Hollis Blanchard <hollis_blanchard at mentor.com>
Mentor Graphics Emulation Division

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20171011/c68ca6ba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-mercurial.sh
Type: application/x-shellscript
Size: 3453 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20171011/c68ca6ba/attachment.bin>


More information about the Mercurial mailing list