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.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。