[erlang-questions] Erlang Different Versions

Dmitry Kolesnikov dmkolesnikov@REDACTED
Thu Nov 29 16:30:37 CET 2012


I am using symbolic links

lrwxr-xr-x   1 root  wheel    11B Nov 23 23:11 otp -> otp_R15B02/
drwxr-xr-x   4 root  wheel   136B Nov 23 23:10 otp_R15B02
drwxr-xr-x   4 root  wheel   136B May 15 21:43 otp_R15B
drwxr-xr-x   4 root  wheel   136B Apr 10 19:25 otp_R14B02

otp is manually configured, complied and installed

- Dmitry


On Nov 29, 2012, at 3:33 PM, Tim Watson <watson.timothy@REDACTED> wrote:

> I've used kerl to do this sometimes, and others just a simple shell script: https://github.com/hyperthunk/evm
> 
> On 29 Nov 2012, at 12:29, Fred Youhanaie wrote:
> 
>> Hi
>> 
>> I have been using modules[1] for a number of years now, for erlang/otp and other packages. Initial configuration of modules is a little involved, but it pays dividends once you're up and running. It works fine for Linux, I think Mac OS X should be OK too.
>> 
>> Once modules is installed and configured, you need to tell it about the various packages.
>> 
>> You need to install the various versions of the packages somewhere away from default paths, say, /opt/erlang-R15B02 and /opt/erlang-R15B03.
>> Once you have told modules about the versions, a sequence like the following is all you need during the normal course of your work:
>> 
>> 	$ module add erlang/R15B02	# R15B02 is in PATH and MANPATH
>> 	$ module rm erlang/R15B02	# R15B02 is out of the way
>> 	$ module add erlang/R15B03	# R15B03
>> 	$ module switch erlang/R15B02	# back to R15B02. R15B03 is out
>> 
>> See the web site for examples etc.
>> 
>> Cheers
>> Fred
>> 
>> [1] http://modules.sourceforge.net/
>> 
>> On 29/11/12 11:43, 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
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>> 
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> 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/5d10067e/attachment.htm>


More information about the erlang-questions mailing list