centos7下安裝erlang

背景

emqx中使用到了erlang做爲其運行前提,爲了編譯相關插件,這裏分享下如何在cento7下安裝erlang。html

安裝方式

erlang兩種主流安裝方式:ubuntu

1. 源碼安裝:http://erlang.org/download/otp_src_23.2.tar.gzide

2.軟件包管理器安裝測試

  • For Homebrew on OS X: brew install erlang
  • For MacPorts on OS X: port install erlang
  • For Ubuntu and Debian: apt-get install erlang
  • For Fedora: yum install erlang
  • For FreeBSD: pkg install erlang

源碼安裝具體可參照:https://www.erlang.org/docs,這裏主要介紹使用yum快捷安裝erlang。url

安裝

1. 安裝epelspa

yum install -y epel-release.net

2. 添加存儲庫條目插件

wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm

三、安裝erlanghtm

yum install -y erlangblog

四、驗證是否安裝成功

erl -version

看到上圖信息則表示完成了erlang的安裝。

博主:測試生財

座右銘:專一測試與自動化,致力提升研發效能;經過測試精進完成原始積累,經過讀書理財奔向財務自由。

csdn:https://blog.csdn.net/ccgshigao

博客園:https://www.cnblogs.com/qa-freeroad/

51cto:https://blog.51cto.com/14900374

相關文章
相關標籤/搜索