Install ErlangR16B In Ubuntu. Installation of related class library # installlibrariesandtoolssudoapt-getinstalllibncurses5-devm4fopfreeglut3-devlibwxgtk2.8-devg + + libssl-devxsltprocbuild-essentialtk8.5 & nb
Install Erlang R16B In Ubuntu.
Install related Class Libraries
# Install libraries and tools
Sudo apt-get install libncurses5-dev m4 fop freeglut3-dev libwxgtk2.8-dev g + + libssl-dev unzip tproc build-essential tk8.5 unixodbc-dev libxml2-utils
Download erlang
# Download source code
Wget http://erlang.org/download/otp_src_R16B.tar.gz
Tar zxvf otp_src_R16B.tar.gz
Cd otp_src_R16B/
Compile and install
# Compile and install
./Configure -- prefix =/opt/erlang
Make
Make install
Clear installation package
# Clean
Cd ..
Rm-r otp_src_R16B
Rm otp_src_R16B.tar.gz
Update Environment Variables
Vim/etc/profile
Add
Export PATH =/opt/erlang/bin: $ PATH
Alias ls = 'LS-color = auto'
Alias ll ='ll-lht'
Save and exit
Source/etc/profile
Enter erl in the command line to check whether the installation is successful.
Note:
If you encounter
/Bin/bash: jar: command not found see http://www.linuxidc.com/Linux/2013-05/84234p2.htm