Here are two ways of doing this.
Release Warehouse
Execute Yum Info Elixir, we get:
Available Packages
Name:elixir
Arch:noarch
version:0.12.5
Release:2.el7
size:2.7 M
Repo:epel/x86_64
SUMMARY:A modern approach to programming for the Erlang VM
url:http://elixir-lang.org/
LICENSE:ASL 2.0 and ERPL
Description:elixir is a programming language built to the top of the Erlang VM.
: As Erlang, it is a functional language built to support distributed,
: Fault-tolerant, Non-stop applications with hot code swapping.
From the above data we can see that the Epel/x86_64 Warehouse Elixir version is 0.12.5, and the current (2016-08-01) official online display Elixir version is 1.3.2. So this method can give up.
Pre-compiling package
Elixir is available on GitHub and we can download and install it ourselves-remember to install Erlang first.
$ cd
$ wget Https://github.com/elixir-lang/elixir/archive/v1.3.2.zip
$ unzip v1.3.2.zip-d.
$ CD elixir-1.3.2
$ make
After success, the elixir path is added to the environment variable:
Export path= "$PATH:/home/sam/elixir-1.3.2/bin"
At the command line:
$ elixir-v
You can see if the elixir was installed successfully and the version that was successfully installed.
Here, I install the elixir in the user's home directory.
To upgrade elixir Thereafter, follow the same steps.