[erlang-questions] Erlang Different Versions

Fred Youhanaie fly@REDACTED
Thu Nov 29 13:29:34 CET 2012


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.


[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

More information about the erlang-questions mailing list