Run these commands on the command line to do a quick install: Assume you have installed the oracle JDK 1.7 or later. (Open JDK is also supported)
Download Erlang OTP source file using http://www.erlang.org/download.html . Make sure it is OTP source.
Let assume you downloaded the otp_src_18. 2.1. tar. gz file.
Let assume you downloaded the otp_src_18
Then run following commands.
Should be ready to go now!
Troubleshooting
What happens at each step if th e prerequisite packages are not installed first
If you download, extract and try to configure Erlang without installing the prerequisites first, this is what you will see:
...
So now you do this:
Now let's try it again:
....
*********************************************************************
********************** APPLICATIONS DISABLED **********************
*********************************************************************
*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************
*********************************************************************
*********************************************************************
********************** DOCUMENTATION INFORMATION ******************
*********************************************************************
Using fakefop to generate placeholder PDF files.
*********************************************************************
Run the following at the command line:
....
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************
*********************************************************************
Now lets run these:
...
...
Ok, now where is erlang going to run from:
/usr /local/bin/erl
Now time to do a little test of erlang :
Erlang R14B02 (erts -5.8.3) [source] [64-bit] [smp : 2:2] [rq : 2] [async-threads: 0] [kernel-poll: false]
1> wx : demo( ).
{wx_ref, 35, wxFrame ,<0.34.0>}
2>
If you get the wxErlang widgets panel, then things are probably ready to go.
References - How to Install Erlang on Ubuntu 10.10
No comments :
Post a Comment