easily installing modern Mercurial on RHEL6
Gregory Szorc
gregory.szorc at gmail.com
Sat Oct 14 21:22:26 UTC 2017
On Wed, Oct 11, 2017 at 7:15 PM, Hollis Blanchard <
hollis_blanchard at mentor.com> wrote:
> 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?
>
I believe previous discussions around supporting Mercurial on older RHEL
releases resulted in the decision to provide RPMs with a self-contained
Python installation. Essentially, you could `yum localinstall
/path/to/mercurial.rpm` and it would "just work." What I'm not sure is if
we ever landed code to produce those RPMs. If we did, we're not publishing
them to https://www.mercurial-scm.org/release/.
Of course, anything we can do to make installing a modern Mercurial on as
many machines as possible is a good idea. So if you feel others could
benefit from the script you wrote, I'd encourage you to send it as a patch.
Augie: anything to add?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20171014/564480dc/attachment-0002.html>
More information about the Mercurial
mailing list