Erlang安装最新版本 (20+版本)

配置源
echo "deb http://packages.erlang-solutions.com/ubuntu trusty contrib" | sudo tee -a /etc/apt/sources.list.d/erlang_solutions.list
导入key
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc |sudo apt-key add -
更新和安装
sudo apt-get update

sudo apt-get install erlang-nox

如果想安装固定的erlang版本,则可以配置
# /etc/apt/preferences.d/erlang
Package: erlang*
Pin: version 1:20.1-1
Pin-Priority: 1000
Package: esl-erlang
Pin: version 1:20.1-7
Pin-Priority: 1000
或者
# /etc/apt/preferences.d/erlang
Package: erlang*
Pin: version 1:19.3-1
Pin-Priority: 1000
Package: esl-erlang
Pin: version 1:19.3-6
Pin-Priority: 1000

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页