Skip to content

Instantly share code, notes, and snippets.

@nivertech
Forked from minimedj/install_erlang.sh
Created March 29, 2013 17:13
Show Gist options
  • Select an option

  • Save nivertech/5272188 to your computer and use it in GitHub Desktop.

Select an option

Save nivertech/5272188 to your computer and use it in GitHub Desktop.
#!/bin/bash
# installing erlang on ubuntu's
VERSION="R16B"
sudo apt-get install curl 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment