calebjosue

calebjosue

Compiling Elixir from source, existing fully functional binaries - what next?

Hello there all,

If you are using Debian 12 (Bookworm) then you have access to elixir 1.14.0 from the official packages.

I wanted to install elixir 1.16.1

After installing erlang 26, and downloading Elixir following the instructions in the docs. I proceeded and before executing make I took a look at the arriving files within the tar, I realizing there is an existing bin folder, with fully functional elixir binaries ready to be executed.

Take a look at the following image portraying the above paragraph.

Is it OK to add these binaries to the path variable, or do we really need to execute make? Perhaps there is another tool getting compiled with make non arriving in the bin folder?

Thanks

Most Liked

al2o3cr

al2o3cr

Those aren’t binaries, they’re wrapper scripts - for instance, the one in bin/elixir collects the command-line args and ultimately calls a binary in lib/elixir/ebin (which is produced by make)

Last Post!

calebjosue

calebjosue

Thank you.

Sill, my question (Hmmm… Not a question per se, I would say my comment instead) remains quite the same. I was able to initiate an elixir session without running make first (see the image in the original (first) post).

No a big deal buddy, and then again, you are right, existing files in bin are scripts.

Thank you, and thank you.

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
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
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

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
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 49084 226
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

We're in Beta

About us Mission Statement