如何在Ubuntu上升级Erlang版本(从R14B04到最新稳定版)?
根据在控制台中运行以下内容的结果,确定要添加哪个。
lsb_release -c
将以下内容之一添加到/etc/apt/sources.list
文件中:
deb http://packages.erlang-solutions.com/ubuntu trusty contrib
deb http://packages.erlang-solutions.com/ubuntu saucy contrib
deb http://packages.erlang-solutions.com/ubuntu precise contrib
deb http://packages.erlang-solutions.com/ubuntu bionic contrib
运行以下两个命令,成功更新 /etc/apt/sources.list
文件后执行:wget http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
接着运行以下命令:
sudo apt-get update
sudo apt-get install erlang
参考资料: https://www.erlang-solutions.com/resources/download.html