Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?

preinstall

Ubuntu Linux

wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc

sudo apt-key add erlang_solutions.asc

sudo apt-add-repository "https://packages.erlang-solutions.com/ubuntu yaketty contrib"

sudo apt-get update

sudo apt-get install erlang

Gentoo Linux

sudo eix-sync

sudo emerge erlang

install

open https://github.com/elixir-lang/elixir/releases/latest

wget https://github.com/elixir-lang/elixir/releases/download/v1.4.2/Precompiled.zip

unzip Precompiled.zip -d elixir

mv elixir ~/.bin/elixir

Add ~/.bin to PATH

echo 'export PATH="${HOME}/.bin:$PATH"' >> ~/.bashrc

Add elixir/bin to PATH

echo 'export PATH="$HOME/.bin/elixir/bin:$PATH"' >> ~/.bashrc

source ~/.bashrc

Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]

Elixir 1.4.2

chmod +x rebar3 mv rebar3 ~/.bin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment