Rob1
most straightforward way to install Elixir 1.16 on stock ubuntu?
sudo apt-get install elixir will install elixir 1.12 for me. Could someone give the most straightforward way for me to install Elixir 1.16 which is required for my Phoenix installation?
The steps I tried with asdf have not been successful for me (I get a segfautl) so I would like to know what is the most standard, straightforward way. This is a stock Ubuntu installation on a recently spun-up AWS micro instance.
Thank you.
Most Liked
al2o3cr
This error usually indicates that the versions of parts of the BEAM and the Elixir runtime disagree. A similar failure from an older version:
https://github.com/asdf-vm/asdf-elixir/issues/55
asdf-erlang requires build-essential, amongst other things, before it can be installed.
You might find the official Elixir images useful, either as a one-line source or as a reference.
thomas.fortes
Stock ubuntu does not come with c compiler, so you probably need to install it (and a bunch of other deps, most of them will be in the build-essential package, but not all) because the erlang plugin from asdf compiles it from the source.
That said, unless you’re using the micro instance for development I would seriously recommend that you use releases instead of running the code directly using the interpreter.
Hermanverschooten
Popular in Questions
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
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex










