ProcessOne SiteCustomer Helpdesk and FeedbackFollow us on Twitter
 
   
 
Programatically pull Erlang download
Posted: 13 November 2011 06:20 PM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2011-11-13

Is there a way to programatically pull the Erlang R12 (or really ‘latest’) installer from here? I have a program that relies on Erlang and I wanted to give the user the choice to auto-install it if it wasn’t discovered on their system. I looked at the download page on the site but it appears I would need to muck with the form and post back results. A REST API or some similar webservice type interface for pulling the installer would be much nicer. Does such a thing exist?

Ryan

Profile
 
 
Posted: 14 November 2011 11:27 AM   [ Ignore ]   [ # 1 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

Yes
there is a direct download URL. I’m currently in the process of upgrading the site for CEAN 2.0 (it will provide R12B-5 R13B04 R14B04 R15)
I’m a bit late on this. until new site release, you can just wget http://cean.process-one.net/R12B/prod/linux-amd64/cean_installer.bin
url is http://cean.process-one.net/<OTP>/prod/<OS-ARCH>/cean_installer.bin
when new site will be online, url will be http://cean.process-one.net/pub/bin/<OS-ARCH>/<OTP>/cean/installer.bin

Profile
 
 
Posted: 15 November 2011 04:19 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2011-11-13

Awesome!  Thanks much.

Ryan

Profile
 
 
Posted: 05 December 2011 12:37 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  3
Joined  2011-11-13

So, I recently deleted my Erlang install to test out my programs automatic downloading, and there is a bit of a problem.  The R11B link is dead, and the R12B installer doesn’t seem to drop erl.ini anywhere, and then erl.exe refuses to start because it can’t find erl.ini.  I don’t recall having to create an erl.ini when I installed Erlang previously (though maybe I did), and from reading on the internet it seems it should no longer be required in newer versions (I assume post R12B), but it seems it is for R12B.  Ideas?

Ryan

Profile
 
 
Posted: 05 December 2011 10:55 AM   [ Ignore ]   [ # 4 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

I never used windows, i can’t really help.

Profile