Is this possible to have different versions of Erlang/OTP installed simultaneously on the same platform?
相关问题
- Is “new” in Erlang part of the official standard a
- how to create a keep-alive process in Erlang
- ejabberd and Erlang installation with lager_transf
- Encrypt (cryptojs) - Decrypt (erlang)
- How to use erlang-examples
相关文章
- How do I modify a record in erlang?
- Check active timers in Erlang
- undefined function maps:to_json/1
- How to convert datetime() to timestamp() in Erlang
- what good orm api will work well with scala or erl
- GC performance in Erlang
- When to “let it crash” and when to defend the code
- Intercept login/logout ejabberd
I use Kerl to install Erlang on my machines. Quite easy to use, and allows to have several Erlang systems installed on same machine. You can then easily choose the one you want to use.
I believe this blog post could be very useful:
How to manage multiple Erlang installations
Consider using kerl. It allows you to work with several Erlang installations https://github.com/kerl/kerl
It is no only possible, but also very frequent. On my machine I have one version that I installed for development (R13B03) it is the default version when I launch erl. A second copy of the same version associated with nitrogen. this copy is used when I start my nitrogen website. The version will not change when I will use the R16B.. for development A partial older version which came with the installation of Wings3D.
On a Mac, Macport helps switching, even between versions it covers and newer ones.
E.g. with Erlang 17 installed directly from Erlang Solutions, you could switch back to RB1603 (open a new terminal window afterwards):
Switch back to Erlang 17 by _de_activating the Macports install (and open a new terminal window afterwards):
List all versions you have installed with:
Yes, I usually install different versions in my home directory. I build them from source:
Then I can choose a version to use with
PATH=$HOME/r15b01/bin:$PATH
, and compile and run things as usual.