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”.
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.
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.
It is a solution that involves apt,
what is does is to update the repositories.
you can do it manually, as described in Erlang and Elixir Packages Download - Erlang Solutions
I guess both do the same: add the Erlang solutions repository to your registry.
Hm, good point. I haven’t worked with Debian for a long time and I forgot that you can install meta .deb-s, namely those that can update the repos. I got used to Ubuntu’s PPAs I suppose.
Thanks for the reminder.
(On a related note, I am just about to give up using normal package managers. Most high-profile distros do a marvelous job but there are always some dark corners (like compiling Erlang with wxWidgets) and I might just go for Dockerized installs by default because the whole thing can get pretty tiring sometimes.)