-
-
Save prayagupa/4466136 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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