简体   繁体   中英

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. I have follow the install . But I only got Elixir 1.1.0-dev . But the latest version is 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

From the website:

To run Elixir from source, clone this repository to your machine, compile and test it:

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

cd elixir

make clean test

From the Elixir site :

  • 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
  • sudo apt-get update - Get packages from repo listed in apt
  • sudo apt-get install esl-erlang - Install the Erlang/OTP platform and all of its applications
  • sudo apt-get install elixir - Install Elixir

Even though it says 1.0 in the dpkg command, it will also make the latest version available to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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