Skip to content

Instantly share code, notes, and snippets.

@xmppjingle
Created February 28, 2018 21:08
Show Gist options
  • Save xmppjingle/45a4476d2f7216b427444dd699512a93 to your computer and use it in GitHub Desktop.
Save xmppjingle/45a4476d2f7216b427444dd699512a93 to your computer and use it in GitHub Desktop.
debian_8_erlang
#!/bin/bash
sudo apt-get -y install g++ ncurse* make
sudo apt-get -y install autotools-dev libyaml-dev libexpat-dev libexpat-dev
sudo apt-get -y install build-essential autoconf libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev git curl
curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
chmod a+x kerl
export CFLAGS="-DOPENSSL_NO_EC=1"
CFLAGS="-DOPENSSL_NO_EC=1" ./kerl build 20.1 erl20.1
./kerl install erl20.1 /opt/erl20.1
. /opt/erl20.1/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment