Install Elixir lang on Linux Mint

I tried too from Elixir's documentation; at first I failed, then eventually installed elixir successfully on my MintDebian1 (Debian wheezy).

I don't really know what's going on. I tend to think they have a typo on their documentation and wrote apt-get install elixir instead of erlang, because all other blog posts I found that use the same .deb do install erlang and then install elixir manually.

I went to /etc/apt/sources.list.d/erlang-solutions.list, changed squeeze to wheezy, ran apt-get update and finally I found elixir and all is well.

PS: it is possible to not install Elixir but still run it, and the iex repl too, from a Docker image. See https://registry.hub.docker.com/u/nifty/elixir/


As you could have guessed, the package elixir isn't available in anything that isn't Ubuntu 12.04, Ubuntu 14.04 (and probably later) and Debian 7. You can check the packages list for Saucy, and you will notice the package isn't there. Trusty repository does have it:

Package: elixir
Version: 0.13.3-1
Architecture: all
Maintainer: Erlang Solutions <[email protected]>
Installed-Size: 3291
Depends: erlang-base (>= 1:17.0) | erlang-base-hipe (>= 1:17.0) | esl-erlang (>= 1:17.0)
Section: contrib
Priority: optional
Homepage: http://elixir-lang.org
Filename: pool/elixir_0.13.3-1~ubuntu~trusty_amd64.deb

What you should do is using one of the supported systems and you will be fine.