Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kwmiebach/295a363a72de1d9cb21205da41b6ced0 to your computer and use it in GitHub Desktop.

Select an option

Save kwmiebach/295a363a72de1d9cb21205da41b6ced0 to your computer and use it in GitHub Desktop.
Installing Erlang with kerl and Elixir with kiex on Fedora 19

Install basic dev env tools/libs

yum install -y vim-enhanced tmux
yum groupinstall 'Development Tools' -y
yum install -y ncurses-devel ncurses

Setup kerl

curl -O https://raw.github.com/spawngrid/kerl/master/kerl
chmod +x kerl
mv kerl /usr/local/bin

Build and activate erlang

kerl build R16B03-1 r16b03-1

Install kiex

curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s

Add the following to the end of your .bashrc (or .zshrc/.cshrc):

# kiex - Phoenix version manager, see 
# https://gist.github.com/kwmiebach/295a363a72de1d9cb21205da41b6ced0 
test -s "$HOME/.kiex/scripts/kiex" && source "$HOME/.kiex/scripts/kiex"

Will be active on the next login. Or source it:

. ~/.bashrc

Install and activate/use and elixir

kiex install 0.12.5
kiex use 0.12.5

Done:

➔  elixir -v
Elixir 0.12.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment