smlnl

smlnl

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,

Showing Posts 1 to 10

dimitarvp

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 – Error

I suggest you use asdf if you want to install higher versions, which is what almost everyone is doing anyway. :slight_smile:

ruslandoga

ruslandoga

You can install a newer version by following the installation guide for Ubuntu or Debian on Installing Elixir - The Elixir programming language

eksperimental

eksperimental

not really. This is the latest version available from the official packages.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

$ elixir -v
Erlang/OTP 24 [erts-12.1.5] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]

Elixir 1.12.2 (compiled with Erlang/OTP 22)
eksperimental

eksperimental

Did you update the repositories listings by running sudo apt update

I have updated them yesterday and the latest versions are OTP24/Elixir 12.2

odix67

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

Sebb

I was looking for a guide to help get started and found this one:

But another guide here: Installation — nerves v1.14.3 in addition says

It is important to update the versions of hex and rebar used by Elixir, even if you already had Elixir installed.

mix local.hex
mix local.rebar

Is this needed or not?

eksperimental

eksperimental

Correct.
Now that i check I installed it with the following commands:

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
dimitarvp

dimitarvp

I think OP was looking for a solution involving apt-get but if they can utilize your method then that’s a win as well.

eksperimental

eksperimental

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.

dimitarvp

dimitarvp

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. :face_with_hand_over_mouth:

Thanks for the reminder. :slight_smile:

(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.)

Where Next? Top

Trending in Questions Top

katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
achenet
Hello, I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind. However, when I launch mix phx.server, I get an error...
New
peck
Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
bradley
I really like the adapter patterns that ecto, nebulex, waffle, etc. use and would love find something similar for a key management servic...
New
unaware8150
Hello folks! So at work, we are seeing some situations where we have to define some “fixed” strings that are used across the codebase in...
New
Cxx-mlr
I’m working on a small exercise involving update_in/3, and I came up with this solution: data = %{ name: "Periodic Table", category:...
New
Alvinkariuki
How Can I Optimise Compile Time Dependencies I have been building an elixir application for about 2 years now. Many modules and files ha...
New

Other Trending Topics Top

mikehostetler
ReqLLM v1.28.0 has been released. Features: add StepFun chat and audio providers (#1087) by mikehostetler openai: honour image deta...
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews