This works for me on a fresh install:
***** Don’t forget to run:
sudo apt-get dist-upgrade
***** on a new installed system
and than install like in the elixir docu:
- Add Erlang Solutions repo:
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
- Run:
sudo apt-get update
- Install the Erlang/OTP platform and all of its applications:
sudo apt-get install esl-erlang
- Install Elixir:
sudo apt-get install elixir