Dependencies

In order to write LFE scripts, libraries, and applications, you will need to install the following:

  • Erlang
  • make and related developer tools
  • git

Installing Erlang

First and foremost, you will need Erlang installed.

  • On Mac OS X, this is as easy as executing brew install erlang
  • On Ubuntu apt-get install erlang.

You can also install Erlang from the various pre-built packages provided on the official Erlang download page or from the Erlang Solutions page (which supports many more package types).

For those who have the need of installing multiple versions of Erlang, there is also the kerl project.

Installing make

In order to use LFE, you will be calling make to compile it. To cover your bases, you'll want to make sure you have the basic development tools installed for your platform.

Ubuntu:

sudo apt-get install build-essential

CentOS/Fedora:

sudo yum groupinstall "Development Tools"

For Mac OS X, you will need to install the "Developer Tools" from the AppStore.

Installing git

You will also need git to continue with this quick-start. If git doesn't come installed on your system and it wasn't installed as part of your systems basic development tools package, you can download it here or install it using your favourite OS package manager.