#!/bin/bash
yum install ncurses-devel openssl-devel -y
yum groupinstall "Development Tools" -y
cd /tmp
wget "http://erlang.org/download/otp_src_21.3.tar.gz" -O otp21.tar.gz
tar xfz otp21.tar.gz
cd otp_src_21.3/
./configure
make && make install
cd /tmp
wget "https://github.com/elixir-lang/elixir/archive/v1.8.1.tar.gz"
tar xfz v1.8.1.tar.gz
cd elixir-1.8.1/
export PATH="${PATH}:/usr/local/bin"
make && make install
mix local.hex --force
mix local.rebar --force
yum install ncurses-devel openssl-devel
wget "http://erlang.org/download/otp_src_21.3.tar.gz" -O otp21.tar.gz
tar xfz otp21.tar.gz
cd otp_src_21.3/
./configure
make && make install
cd ..
wget "https://github.com/elixir-lang/elixir/archive/v1.8.1.tar.gz"
tar xfz v1.8.1.tar.gz
cd elixir-1.8.1/
export PATH="${PATH}:/usr/local/bin"
make && make install
mix local.hex --force
mix local.rebar --force
I had to change the following to make it work for me:
install erlang
install elixir