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

后端 未结 6 551
说谎
说谎 2021-01-05 18:25

Is this possible to have different versions of Erlang/OTP installed simultaneously on the same platform?

6条回答
  •  囚心锁ツ
    2021-01-05 19:18

    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):

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

    Switch back to Erlang 17 by _de_activating the Macports install (and open a new terminal window afterwards):

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

    List all versions you have installed with:

    port installed erlang
    

提交回复
热议问题