LINUX : Installing Erlang

Create directories for Erlang

~]# mkdir /usr/local/erlang
~]# mkdir /usr/local/erlang/<version:otp_r15b>

Untar the archive into the directory you just created

otp_r15b]# tar -zxvf otp_src_<version:R15B>.tar.gz  

Configure.

otp_src_R15B]# ./configure

make and make install

otp_src_R15B]# make
otp_src_R15B]# make install

Set Path

otp_src_R15B]# vim /etc/profile

Add following lines to the end of the file.

# ERLANG
ERL_TOP=/usr/local/lib/erlang; export ERL_TOP
PATH=$ERL_TOP/bin:$PATH; export PATH
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: