How can I install Elixir on Ubuntu 13.04 so that I can easily use it from the command line and update it easily by cloning git.
I have installed Erlang 16 by getting package from here Erlang Downloads
There is a source elixir git here https://github.com/elixir-lang/elixir I can clone it and use it by navigating to the bin directory but how do I set it up so it is available to the system from bash?
Add the
bin
directory from your clone to yourPATH
.For example, if the git clone is in your home directory, use:
Although looking at the source, it looks like what you should really be doing is installing it:
This will install elixir in /usr/local/bin, which should already be on your
PATH
.There is also a PPA available. The following steps have been tested successfully on Ubuntu 13.10 (Saucy), but should work on Raring and Precise without any modification:
For Erlang (see https://packages.erlang-solutions.com/erlang/):
Add repository:
Install package:
For Elixir:
Add repository:
Install package: