michallepicki
Hello!
To save some time when switching projects or development machines, I glued together an asdf plugin that uses Erlang precompiled by Bob thanks to the great Hex.pm team. If you’re using the GitHub erlef/setup-beam action or hexpm docker images, there’s a chance you’re already using those builds on CI or in production - now you should be able to use them in your development environment as well.
Here are the plugins:
asdf-erlang-prebuilt-ubuntu-20.04
asdf-erlang-prebuilt-ubuntu-18.04
All I did is I forked asdf-elixir and made a few changes to adjust it for Erlang.
I don’t have much experience with packaging or distributing Erlang, all the work has been done by the Hex.pm team, and hopefully it works and is suitable to be used this way as well.
Trending in Discussions
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
Eiji
Personally I would go with
elixirway and provideERLANG-VERSION-ubuntu-20.04build just likeELIXIR-VERSION-otp-24(in originalerlangplugin). With this we can easily go also withalpinebuilds.michallepicki
I don’t plan to add any more platforms, advanced features or configurations, hopefully we’ll be able to provide this functionality in the main asdf-erlang plugin somehow and avoid fragmentation. There is an open issue for it.
michallepicki
Updating the thread with the newest (and not-so-new anymore info), here are plugins for newer Ubuntu versions:
asdf-erlang-prebuilt-ubuntu-22.04
asdf-erlang-prebuilt-ubuntu-24.04
rogach
I’ve tweaked your plugin to support all available Ubuntu versions and architectures: https://github.com/Rogach/asdf-erlang-prebuilt
So you can do “asdf install erlang 27.0.1-ubuntu-22.04-amd64” for example.