Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Erlang/OTP 22.0 on CentOS7 system

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to install Erlang/OTP 22.0 in CentOS7 system, which is very detailed and has certain reference value. Friends who are interested must finish reading it.

Official website address http://www.erlang.org/downloads

Right copy link address: http://erlang.org/download/otp_src_22.0.tar.gz

Confirm whether it is a root account before operation. This example starts with the operation under the root user directory / root.

Use the command cd to enter the user directory

Cd

Download the installation package

Wget http://erlang.org/download/otp_src_22.0.tar.gz

If the wget command cannot be found, the yum-y install wget installation can be performed

Decompression

Tar-xf otp_src_22.0.tar.gz

Rename

Mv otp_src_22.0 otp

Installation related dependencies

Yum-y install make yum-y install gcc yum-y install gcc-c++ yum-y install kernel-devel yum-y install M4 yum-y install ncurses-devel yum-y install openssl-devel yum-y install unixODBC-devel yum-y install libtool yum-y install libtool-ltdl-devel yum-y install automake yum-y install autoconf yum-y install wx yum-y install fop

Installation

Cd otp./otp_build autoconf./configuremakemake install

The default installation path for Erlang is / usr/local/lib/erlang

Configure environment variables

Vim / etc/profile

If the command is not found, install the vim command yum-y install vim or use the system's own editor vi

Paste the following code to the end of the file

Export ERLANG_HOME=/usr/local/lib/erlangexport PATH=$PATH:$ERLANG_HOME/bin

Reload environment variabl

Source / etc/profile

To test whether the installation is successful, execute the erl command on the terminal

Erl

Erlang installed successfully

These are all the contents of the article "how to install Erlang/OTP 22.0 on CentOS7 systems". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report