Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Script to install Erlang R15B01 (tested on a fresh Ubuntu 12.04 install)
# You will need to make this file executable (chmod u+x) and run it with sudo
apt-get update
apt-get --fix-missing -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk
mkdir -p /src/erlang
cd /src/erlang
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
tar -xvzf otp_src_R15B01.tar.gz
chmod -R 777 otp_src_R15B01
cd otp_src_R15B01
./configure
make
make install

Changes:

  • 15B -> 15B01
  • I had trouble with libssh -> added apt-get update & --fix-missing

is chmod -R 777 necessary?

mojo706 commented Sep 17, 2013

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment