I played with my mobile phone last night and saw that the official version of erlang OTP 25 was released. I got up early this morning to install it.

installation steps

The asdf software installation tool, which has been used all the time, is very convenient. implement

 asdf install erlang 25.0

Then there is a long wait, you can go to brush your teeth first.

After successful installation, set it to the current version

 asdf global erlang 25.0

The version can be checked by executing erl

 $ erl
Erlang/OTP 25 [erts-13.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

Eshell V13.0  (abort with ^G)

Since the elixir version I installed before was precompiled, it also needs to be updated

 asdf install elixir 1.13.4-otp-25
asdf global elixir 1.13.4-otp-25

Installed soon, check it out

 $ iex -v
Erlang/OTP 25 [erts-13.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

IEx 1.13.4 (compiled with Erlang/OTP 25)

compile test

Of course, the first thing after installation is to compile my elixir project to see if there are any incompatibilities.

First enter the project root directory and delete the previous compiled files

 rm -rf _build

compile

 mix compile

During the installation again hex and rebar. Compilation completes without any new errors.

Start the program, still no new error.

An unremarkable upgrade was done.


Ljzn
399 声望102 粉丝

网络安全;函数式编程;数字货币;人工智能