smlnl
Ubuntu 20.04 LTS - Elixir version update
Hello everyone,
I’ve got a problem that I cannot rectify.
I work on WSL - Windows 10, Ubuntu 20.04 LTS and elixir version is at 1.9.1. When I try to update the elixir to the latest version, I see the message saying something like “elixir is on the latest version”.
Do you guys have any experience around this ?
Any help would be appreciated.
Thanks,
Marked As Solved
smlnl
sudo apt-get update OR upgrade
didn’t lead to anywhere. So what I did was going through the following again;
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
sudo apt update
sudo apt install esl-erlang
sudo apt install elixir
as in original installation documents.
and now I have
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Erlang/OTP 24 [erts-12.1.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.12.2 (compiled with Erlang/OTP 22)
Also Liked
dimitarvp
There’s no mystery, Ubuntu 20.04 LTS is quite old (as the name says: Long Term Release) so the Elixir version is quite conservatively set there: Ubuntu – Details of package elixir in focal
I suggest you use asdf if you want to install higher versions, which is what almost everyone is doing anyway. 
odix67
according to the packages index, the current version of elixir is 1.9.1.dfsg-1.3, there is no newer version in focal-update, nor in focal-backports. Your installed version (OTP24/Elixir 12.2) seems to come from elsewhere.
Sebb
I was looking for a guide to help get started and found this one:
But another guide here: Installation — nerves v1.11.3 in addition says
It is important to update the versions of
hexandrebarused by Elixir, even if you already had Elixir installed.mix local.hex mix local.rebar
Is this needed or not?







