Installing more than one version of Erlang / OTP on a machine

Is it possible for different versions of Erlang / OTP to be installed on the same platform at the same time?

+4
source share
5 answers

This is not only possible, but also very common. On my machine, I have one version that I installed for development (R13B03), this is the default version when I run erl. The second copy of the same version is related to nitrogen. This copy is used when I start my site with nitrogen. The version will not change when I use R16B .. for development The partial old version that comes with the Wings3D installation.

+2
source

I use Kerl to install Erlang on my machines. Simple enough to use and allows you to install multiple Erlang systems on one computer. Then you can easily choose the one you want to use.

+10
source

Yes, I usually install different versions in my home directory. I build them from a source:

./configure --prefix=$HOME/r15b01 make && make install 

Then I can choose the version to use with PATH=$HOME/r15b01/bin:$PATH , and compile and run everything as usual.

+3
source

I believe this blog post can be very helpful:

How to manage multiple Erlang installations

+2
source

On a Mac, Macport helps you switch, even between the versions it covers and newer ones.

eg. with Erlang 17 installed directly from Erlang Solutions, you can switch back to RB1603 (then open a new terminal window):

 sudo port activate erlang @R16B03-1_0+hipe+ssl 

Return to Erlang 17 using _de_activating Macports installation (and then open a new terminal window):

 sudo port deactivate erlang @R16B03-1_0+hipe+ssl 

List all the versions you installed with:

 port installed erlang 
0
source

All Articles