Skip to content

Instantly share code, notes, and snippets.

@ldct
Last active March 3, 2016 07:44
Show Gist options
  • Save ldct/1b86c25290e81a1b21da to your computer and use it in GitHub Desktop.
Save ldct/1b86c25290e81a1b21da to your computer and use it in GitHub Desktop.
apt-get update
apt-get upgrade
apt-get install build-essential libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev curl git
mkdir tools
cd tools
mkdir erlang
cd erlang
curl -O https://raw.githubusercontent.com/yrashk/kerl/master/kerl
chmod +x ./kerl
./kerl list releases
./kerl build 18.2 18.2
./kerl install 18.2 .
source ./activate
# bin/erl
echo "export PATH=\$PATH:\~/tools/erlang/bin:\~/tools/erlang/elixir/bin" >> ~/.bashrc
source ~/.bashrc
# erl
git clone https://github.com/elixir-lang/elixir.git
cd elixir
make clean test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment