Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2016 12:04
  • Star 13 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
install elixir centos 7
sudo yum -y install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git
sudo yum -y install wxBase.x86_64
sudo yum -y install wget
sudo rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
sudo yum -y install esl-erlang
sudo mkdir /opt/elixir
sudo git clone /opt/elixir
cd /opt/elixir
sudo make clean test
sudo ln -s /opt/elixir/bin/iex /usr/local/bin/iex
sudo ln -s /opt/elixir/bin/mix /usr/local/bin/mix
sudo ln -s /opt/elixir/bin/elixir /usr/local/bin/elixir
sudo ln -s /opt/elixir/bin/elixirc /usr/local/bin/elixirc
Copy link

export PATH="$PATH:/opt/elixir/bin"

Copy link

ghost commented Feb 26, 2017

NB - the epel7 third party repo is required. You can make it using yum-config-manager.

Copy link

ghost commented Dec 10, 2017

erlang-rebar is also required for compiling Elixir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment