linux mint 18.2 install erlang

由于Linux min 18.2仓库中的erlnag是18.2,我们手动安装最新版本,参考 https://www.erlang-solutions.com/resources/download.html

1 你需要创建一个 /etc/apt/sources.list 文件并填入下面

deb http://binaries.erlang-solutions.com/debian xenial contrib

2 添加公钥

wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc

3 更新安装

sudo apt-get update
sudo apt-get install esl-erlang

注意

1 这里我们推荐安装esl-erlang ,它包含了  the Erlang/OTP platform and all of its applications

2 现在新版的ubuntu和linux mint已经不适用sources.list了,都是在  /etc/apt/sources.list.d 目录下创建对应的list文件,你也可以创建一个erlang-solutions.list ,在里面添加一个

deb http://binaries.erlang-solutions.com/debian xenial contrib

,但是esl安装包似乎还要使用sources.list,这里推荐你创建这个文件,里面可以什么都不填写

原文地址:https://www.cnblogs.com/or2-/p/7628112.html