calebjosue
Installing Elixir 1.16.1 (And Erlang 26.2.1) on Gnu/Linux Debian 12 (Bookworm) from Source Code
I’ve made a video on how to install Erlang (26.2.1) and Elixir (1.16.1) on GNU/Linux Debian 12 (Bookworm).
Thanks!
Most Liked
Eiji
Honestly? Personally I’m
on this. This is more like how to make Erlang and Elixir compile - not a good way to prepare environment. In modern environments versions managers like asdf are used instead of doing everything by hand and they also allows to compile Erlang and Elixir - not even mentioning that there are up-to-date binary releases. Unfortunately your way you could scare new developers already at the Erlang step. ![]()
The second thing you are doing wrong is not to use a tools your distribution provides. Yes, version managers like asdf does not handle dependencies by you, but their plugins have usually a simple one line command to install dependencies using apt and that’s more than enough for a new developer to know. ![]()
What a guide like you could do is as said using all helpful stuff your distribution provides. I already gave an example about it here:
In Gentoo btw. it’s even simpler, because *.ebuild files are text files and you don’t have to generate a deb or any other files. ![]()
The biggest problem with your guide however is how to do update your installed by hand environment. In very short people need to go all over again and ensure everything works which could be fully automated and the update then looks like:
- Install distribution updates (using apt for example)

- Install updates using version manager (using asdf for example)

and … that’s it! Story end. You have to spend only “5 min” only once and then you can the time you saved on more (or less) productive things. ![]()
calebjosue
Eiji!
Well, I would like to draw this self-enriching conversation to a conclusion, let me first thank you for the time and thought you have put into your detailed and elaborated answers.
Let me also mention the fact I am an Elixir/Phoenix newcomer myself, a couple of months ago I’ve shared a kind of walkthrough in which I have installed (Not shown in the video) Erlang and Elixir using the official repositories available in Ubuntu. I also used the automated deployment process Gigalixir provides, believe me, there was nothing manual in there.
I would take into consideration your points for my future videos, but I certainly believe installing from sources is a good and standard alternative.
Did you said that to Gentoo user?
How could I knew this? I didn’t meant to offend you. I didn’t dig into your profile, so if you are sorta an advaced user please accept my apologies. The video is all about installing on Debian (It is in the title).
Thank you very much again for your insights, appreciated, and please do have an excellent week ahead.
Popular in Screencasts
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









