Check that you are using a trusty
distro, on Ubuntu:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Download the deb
package and install the erlang
environment:
$ wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
This will also add the erlang
repository to the list of repositories available to your system, to check it:
$ ls /etc/apt/sources.list.d/ | grep erlang
erlang-solutions.list
Refresh your local index with the latest list of available deb
packages:
$ sudo apt-get update
Install elixir
as a deb
dependency:
$ sudo apt-get install elixir
Health checks (after the installation):
$ iex -v
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
Elixir 1.1.0
$
$ elixir -v
Elixir 1.1.0
$
$ mix -v
Mix 1.1.0
The Elixir shell, iex
:
$ iex --help
$ man iex
The Elixir script runner, elixir
:
$ elixir --help
$ man elixir
The Elixir compiler, elixirc
:
$ man elixirc
$ elixirc --help
The Elixir software project management tool (packet/dependency management), mix
:
$ man mix
$ mix --help
Thank you that was helpful a nice compact install instruction ;-)