天天看點

Ubuntu16.0.4 安裝rebar3指南

安裝rebar3前需要安裝Erlang開發環境,對OTP的版本有要求。

1.下載下傳rebar3

下載下傳編譯好的版本

wget https://s3.amazonaws.com/rebar3/rebar3
           

2.修改rebar3權限為可執行

chmod +x rebar3
           

3.安裝

./rebar3 local install
           
Ubuntu16.0.4 安裝rebar3指南

 4.配置rebar3全局環境變量

找到rebar3的安裝路徑

Ubuntu16.0.4 安裝rebar3指南

将rebar3配置到環境變量profile中。 

Ubuntu16.0.4 安裝rebar3指南

使環境變量生效:source  /etc/profile

驗證rebar3安裝成功。

Ubuntu16.0.4 安裝rebar3指南
Ubuntu16.0.4 安裝rebar3指南