Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kamiro/0e6734f85eb6f50ac7a7150117b80c58 to your computer and use it in GitHub Desktop.
Save kamiro/0e6734f85eb6f50ac7a7150117b80c58 to your computer and use it in GitHub Desktop.
Running elixir 1.4 on amazon linux

pre-install

yum install ncurses-devel openssl-devel

install erlang

yum groupinstall "Development Tools"
wget "http://erlang.org/download/otp_src_19.3.tar.gz" -O otp19.tar.gz
tar xfz otp19.tar.gz
cd otp_src_19.3/
./configure
make && make install

install elixir

cd ..
wget "https://github.com/elixir-lang/elixir/archive/v1.4.4.tar.gz"
tar xfz v1.4.4.tar.gz
cd elixir-1.4.4/
export PATH="${PATH}:/usr/local/bin"
make && make install

install deps

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