Elixir precompiled package 1.17.3 on Erlang/OTP 27 looks to install 1.16.2

Hi all,

I installed the Elixir precompiled package labelled “Elixir 1.17.3 on Erlang/OTP 26” available from [Installing Elixir - The Elixir programming language] (Installing Elixir - The Elixir programming language) but it appears install Elixir version 1.16.2 as shown in IEx:

Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]

Interactive Elixir (1.16.2) - press Ctrl+C to exit (type h() ENTER for help)

I was expecting to see Interactive Elixir (1.17.3)? Have a missed something or does the precompiled package have the wrong label?

Thanks in advance.

Can you run which elixir? Could it be that you already had Elixir installed in your system and it is “winning” over the installed one? Did you follow the steps after installation to add the just installed executable to your path?

Thank you for replying and helping Jose.

More background is that I was installing Elixir in WSL / Oracle_Linux_9_1.

‘which elixir’ in Bash showed the following path:
/mnt/c/Program Files/Elixir 1.16.2/bin/elixir which is on my Windows machine.

When I specifically go to the linux installation ~/elixir-otp-26/bin and run ./iex I get:

Interactive Elixir (1.17.3) - press Ctrl+C to exit (type h() ENTER for help)

Thanks again.

2 Likes