Install ErlangR16B in Ubuntu

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.