LoginSignup
4
2

More than 5 years have passed since last update.

ElixirをBash on Ubuntu on Windowsで動かす

Last updated at Posted at 2016-12-04

Bash on Ubuntu on WindowsでElixirを動かす

2018/04/27現在確認したところ普通に入れて動くようです

Phoenixくんと戯れるためにElixir入れたら動かなかったので調べてみました。

Bash on Ubuntu on Windows上で

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang=1:18.3.4
sudo rm /usr/bin/erl
sudo ln -s /usr/lib/erlang/bin/erl /usr/bin/erl
sudo apt-get install elixir

そのままこれをコピペしていけば入ります。

1.9系だとクラッシュするので18.3.4を入れてます

Erlangのバージョンが上がるとまずいので
sudo apt-mark hold esl-erlang
しとくといいかも

引用元
https://github.com/Microsoft/BashOnWindows/issues/613#issuecomment-239642248

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2