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: https://www.erlang-solutions.com/resources/download.html
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: https://www.cogini.com/blog/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

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
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New

Other popular topics Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement