[erlang-questions] Erlang Different Versions

Roman Gafiyatullin r.gafiyatullin@REDACTED
Thu Nov 29 12:51:22 CET 2012


I usually build OTP from sources running `./configure --prefix=/opt/otp-r15b02` makes it installed into the named location.

I also put something like the following into my ~/.bashrc or ~/.profile:

PATH_NO_OTP=$PATH

function use-15b01() {
export PATH="/opt/otp-r15b01/bin:${PATH_NO_OTP}"
}

function use-15b02() {
export PATH="/opt/otp-r15b02/bin:${PATH_NO_OTP}"
}


And switch the version of OTP to use executing one of the declared functions.
-- 
Roman Gafiyatullin
+375-33-6025080


On Thursday, November 29, 2012 at 2:43 pm, Lucky Khoza wrote:

> Hi Erlang Developers,
> 
> I'm actually using Software  Mac OS X Lion 10.7.5 (11G63) to run UNIX OS, and I have already installed version of Erlang R15B02 (erts-5.9.2) using homebrew, however my question is: how possible is that to install different versions [R12N-5-1, R13B04-0, R14A-0, R14A-0, R14B01-1] of Erlang in same UNIX OS? And how do I go about doing that? or Should I create new folder for each version in order to switch amongst them because we have systems that are written with different versions of Erlang.
> 
> Your help is much appreciated.
> 
> Kindest Regards
> Lucky
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED (mailto:erlang-questions@REDACTED)
> http://erlang.org/mailman/listinfo/erlang-questions
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121129/1bdaf4a7/attachment.htm>


More information about the erlang-questions mailing list