Install Erlang on CentOS 6.4

Source: Internet
Author: User

In this section, we will learn how to install erlang on CentOS 6.4, the specific Erlang version is the R15B03-1.

Before installation, you must install other software. Otherwise, some software modules that are not dependent on the software may fail during installation.

1, first of all to install GCC GCC-C ++ Openssl modules since:

Yum-y install make gcc-c ++ kernel-devel m4 ncurses-devel openssl-devel

2. Install the ncurses module again.

Yum-y install ncurses-devel

Yum install ncurses-devel

3. Download The erangsource code file otp_src_r15b03-1.tar.gz, and grant permissions to the file and decompress the file:

Chmod + x otp_src_R15B03-1.tar.gz

Tar-xzvf otp_src_R15B03-1.tar.gz

Mv otp_src_R15B03-1 erlang_R15B # Rename and decompress thick files

4. The following is a major installation of erlang. perform the following operations in sequence:

Cd erlang_R15B/

. /Configure -- prefix =/usr/local/erlang -- with-ssl -- enable-threads -- enable-smp-support -- enable-kernel-poll -- enable-hipe -- without-javac/ /without java compilation, so remove java to avoid errors

Make & make install // install after compilation

5. Configure the erlang environment:

Vi/etc/profile

Export PATH = $ PATH:/usr/local/erlang/bin

Now erlang has been configured. Now let's take a look at the result:

# Whereis erlang

Erlang:/usr/local/erlang

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.