Skip to content

Instantly share code, notes, and snippets.

@prayagupa
Forked from rkmax/install-r15b.sh
Last active December 10, 2015 17:08
Show Gist options
  • Save prayagupa/4466136 to your computer and use it in GitHub Desktop.
Save prayagupa/4466136 to your computer and use it in GitHub Desktop.
# worked on ubuntu 12.10
# may take 20+ minutes (depends on internet speed + ...)
# You will need to make this file executable (chmod u+x) and run it with sudo
sudo apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk
sudo mkdir -p /src/erlang
cd /src/erlang
sudo wget http://www.erlang.org/download/otp_src_R15B.tar.gz
sudo tar -xvzf otp_src_R15B.tar.gz
sudo chmod -R 777 otp_src_R15B
cd otp_src_R15B
sudo ./configure
sudo make
sudo make install
#
# prayag@Prayag:/src/erlang/otp_src_R15B$ erl -version
# Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.9
#
# http://www.trapexit.org/Hello_World
# prayag@Prayag:/src/erlang/otp_src_R15B$ erl -noshell -eval 'io:fwrite("Welcome to erland!!!!\n"), init:stop().'
# Welcome to erland!!!!
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment