How to install Erlang
February 22nd, 2009
Well, it depends on what OS you are running. Saying that, I mean NOT building the source code.
Windows
Just download the binaries from Erlang website and run the exe file
Linux
apt-get is your friend, just do sudo apt-get install erlang
.
Mac OSX
I installed MacPorts and did sudo port install erlang
, and it works!
Solaris
This is a bit tricky as I can’t find any official Sun package for Erlang, you have to either compile from source or follow these instructions:
- Determine Solaris version and machine type (sparx or i386)
uname -a - Go to the corresponding folder in http://www.iforceready.it/pub/csw/stable , or other mirrors
- Download the following packages
- common
- ncurses
- libiconv
- readline
- unixodbc
- openssl_rt
- openssl_devel
- openssl_utils
- openssl
- erlang
- Unzip and install them in the above order
sudo pkgadd -d <<package name >>
- And the path to erl is
/opt/csw/bin