APB9785

APB9785

Creator of ECSx

Is 1.7 the latest Elixir version for Raspberry Pi?

Like the topic says. Using apt installs 1.7, and says there are no more updates. Since Phoenix only requires 1.6+, maybe it’s just fine, but is there any other functionality that is missing?

Most Liked

jakemorrison

jakemorrison

OS packages are generally there to be a dependency of some other package. They are stable, but out of date, as they don’t increase major versions after the OS is released.

Erlang Solutions maintains up to date packages: Erlang and Elixir Packages Download - Erlang Solutions
Packages are much more important for Erlang than for Elixir. Once you have an up to date Erlang, you can simply download Elixir from https://elixir-lang.org/
ASDF is great for managing app dependencies: Using ASDF with Elixir and Phoenix
It will take a while to compile Erlang, though, so if your machine doesn’t have a lot of resources, you can use the OS package for Erlang and use ASDF for Elixir.

NobbZ

NobbZ

That link also clearly says:

If your distribution contains an old Elixir/Erlang version, see the sections below for installing Elixir/Erlang from version managers or from source.

So, follow that sentence and use asdf.

To be honest, in 15 years I have not yet the luxury of only needing a single version of a language installed.

And those versions that have been required by the projects always have been either behind or newer than the systems version.

So unless you are on nixOS, using asdf-vm for everything is a very good advice.

ityonemo

ityonemo

I wouldn’t trust distro packagers to give you the lastest version of software in general. Can you use a different installer like adsf? The hw itself supports higher versions (elixir-nerves distros are up to date)

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New

We're in Beta

About us Mission Statement