简体   繁体   English

如何在Ubuntu 15.10上安装最新的Elixir版本(目前为1.2)?

[英]how to install the latest Elixir version (1.2 at this date) on Ubuntu 15.10?

I wan to install the latest Elixir version on Ubuntu 15.10. 我想在Ubuntu 15.10上安装最新版本的Elixir。 I have follow the install . 我已经按照安装了 But I only got Elixir 1.1.0-dev . 但是我只有Elixir 1.1.0-dev But the latest version is 1.2. 但是最新版本是1.2。 How do I get it? 我如何得到它?

I think in this case you'll need to build from source: 我认为在这种情况下,您需要从源代码构建:

https://github.com/elixir-lang/elixir https://github.com/elixir-lang/elixir

From the website: 从网站:

To run Elixir from source, clone this repository to your machine, compile and test it: 要从源代码运行Elixir,请将此存储库克隆到您的计算机上,进行编译和测试:

git clone https://github.com/elixir-lang/elixir.git git clone https://github.com/elixir-lang/elixir.git

cd elixir CD药剂

make clean test 做干净的测试

From the Elixir site : Elixir网站

  • wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb - Add Erlang solutions repo wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb添加Erlang解决方案回购
  • sudo apt-get update - Get packages from repo listed in apt sudo apt-get update update-从apt中列出的仓库中获取软件包
  • sudo apt-get install esl-erlang - Install the Erlang/OTP platform and all of its applications sudo apt-get install esl-erlang安装Erlang / OTP平台及其所有应用程序
  • sudo apt-get install elixir - Install Elixir sudo apt-get install elixir安装Elixir

Even though it says 1.0 in the dpkg command, it will also make the latest version available to you. 即使在dpkg命令中显示1.0,它也会使您可以使用最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM