starkeepers

starkeepers

Elixir 1.14 missing from erlang-solutions.com

erlang-solutions.com still offers Elixir 1.13.4 as the latest version – anyone knows how that repo gets updated? I have no packaging experience, but would be willing to help with whatever needs to be done to package 1.14 into a deb available through the erlang-solutions apt repo.

Most Liked

Sebb

Sebb

it is, but maybe a little scary. Also there are some incomplete instructions out there (missing hex and rebar eg). Nerves comes with proper instructions, I copy the relevant (non-nerves part) here:

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0

# The following steps are for bash. If you’re using something else, do the
# equivalent for your shell.
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc # optional
source ~/.bashrc

asdf plugin-add erlang
asdf plugin-add elixir

# (omitting wxgtk-part as it is not needed for most)

# asdf is now setup and one can install erlang and elixir.
# asdf install erlang <TAB> gives available versions. 
# Latest releases at the time of this writing would be

asdf install erlang 25.1.1
asdf install elixir 1.14.1-otp-25

# you can have as many versions as you like installed at a time and then select them by

asdf global erlang 25.1.1
asdf global elixir 1.14.1-otp-25

# after any "asdf global xxx"  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

# and most people will also want to have
mix archive.install hex phx_new

https://hexdocs.pm/nerves/installation.html#all-platforms

derek-zhou

derek-zhou

As a 20+ years Debian user I gave up on all 3rd party repo long time ago. You either use the packages from the distro or compile yourself. Elixir is a no-brainier: It compiles in one minute, and has no strange compile time dependency.

Where Next?

Popular in Questions 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
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
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
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
hpopp
To simplify some tasks at work, I wrote and published this package yesterday. It’s a simple macro that enables Access behaviour on struct...
New
Mooodi
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work. Or rather, not char, but a substr...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement