Installing elm on Fedora

sigu
podiihq
Published in
1 min readNov 30, 2017

How to install elm on fedora

I started by using yarn to add elm as a global package yarn global add elm , which was successfully added but I could not get an executable elm from the terminal so I resorted to using npm in this case ( I still don’t understand why this does not work)

So lets use npm for the installation, run the following command

$ npm i -g elm

This installs a couple of elm packages elm-repl , elm-reactor , elm-make and elm-package

To confirm that everything is okay run the elm repl on your terminal

$ elm-repl

You are most likely going to get an error due to some uninstalled libraries:

/home/username/.nvm/versions/node/v9.2.0/lib/node_modules/elm/Elm-Platform/0.18.0/.cabal-sandbox/bin/elm-repl: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

To solve this, you need to install some ncurses libries

$ sudo dnf install ncurses-compat-libs

Now you are ready to go!!

--

--

sigu
podiihq

Software application developer, found new craze in functional programming.