Skip to content

Instantly share code, notes, and snippets.

@stalkermn
Forked from chaos-ad/install.sh
Created April 26, 2017 13:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save stalkermn/b02914bc8b50398ff3de7ee7175672fd to your computer and use it in GitHub Desktop.
Installing erlang in ubuntu
#!/bin/bash
# installing erlang on ubuntu's
VERSION="R15B01"
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev
sudo mkdir -p /opt/erlang/
curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl
sudo mv kerl /opt/erlang/
sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl
kerl update releases
kerl build ${VERSION} ${VERSION}
sudo kerl install ${VERSION} /opt/erlang/${VERSION}
sudo ln -s /opt/erlang/${VERSION} /opt/erlang/current
cd /usr/local/bin
sudo find /opt/erlang/current/bin -exec ln -s '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment