Elixir version upgrade to latest

Hi,

I am running Elixir in a linux system and it shows the version as 1.10.3
I am trying to execute a program which has Task.await_many and in this version it says that the function is not defined or private.

Looks like i need to upgrade to the latest version of elixir. But at a loss on how to upgrade it.

My linux system is running Debian latest.

Sincerely,
Sudarsan.D

I manage my installs via asdf, Debian is very conservative when updating packages so if you installed it via apt, it will be old.

asdf can manage many different languages and versions, letting you run different versions of Elixir, Ruby, etc, etc for different projects. it’s very useful and painless…

6 Likes

Thanks a lot.Appreciate your help.

Follow the instructions in Erlang and Elixir Packages Download - Erlang Solutions

or run this:

wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
sudo dpkg -i erlang-solutions_2.0_all.deb
wget https://packages.erlang-solutions.com/debian/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
sudo apt-get update
sudo apt-get install erlang