lightweight Erlang with package management

Joe Armstrong (AL/EAB) joe.armstrong@REDACTED
Mon Jul 3 10:07:21 CEST 2006


Brilliant, well done.

Just what we need. 

Comments

	1) Remote install extension

 One nice feature that you might like to add to erlrt is the ability to
do remote installs.

Let's assume somebody (A) has accounts on machines (B1, B2, B3, ....,
Bn)

N might be large.

>From A I'd like to remotely install the base system on all the B's.

<< This is what I did for planetErl (Erlang on planet lab) where n =
688.

   Here the problem is to "push" an Erlang onto 688 different nodes 

   This I did using os:cmd("rsh ...") commands. The script could install
and
   start an erlang daemon on all 688 machines >>

 	2) Windows install

   Wings http://www.wings3d.com/ has a windows binary installer, you
might like to
look to see how this was done.

    << Just a thought - in order to make a half workable windows
environment I usually
	install a smallish number of extras - the mingw32 msys stuff,
with ssh etc and
      and emacs --- Once we have installed erlrt then I guess it would
be easy to
	write a package that installs a "standard" environment for
windows -
	(all I need is a "wget" in Erlang, and I guess something like
wget is
	hidden inside erlrt :-) 	
	
   
/Joe


 
 

> -----Original Message-----
> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of 
> Christophe Romain
> Sent: den 1 juli 2006 00:35
> To: erlang-questions@REDACTED
> Subject: lightweight Erlang with package management
> 
> New version of erlrt is available !
> http://erlrt.process-one.net/
> 
> erlrt allows to install a minimal binary version of erlang 
> base system by downloading a 1.4Mb self extractable archive. 
> Binary packages are now provided for:
> MacOSX (powerpc), Linux (alpha, amd64, arm, hppa, ia64, mips, 
> mipsel, powerpc, s390, sparc, x86), SunOS (sparc), Windows.
> 
> A package management with simple dependency handling (level 1 
> dependences only) is to be tested in that second version of erlrt.
> 
> erlrt aims to be for Erlang what CPAN is for Perl.
> we are ready to add several erlang applications into erlrt if 
> packaged the otp way.
> 
> usage:
> 
> list available packages
> 	> erlrt:available().
> list installed packages
> 	> erlrt:installed().
> check for an installed packages (returns true/false)
> 	> erlrt:installed(mnesia).
> install a package (mnesia as example)
> 	> erlrt:install(mnesia).
> uninstall a package (mnesia as example)
> 	> erlrt:uninstall(mnesia).
> upgrade a package (ejabberd as example)
> 	> erlrt:upgrade(ejabberd).
> upgrade the whole distribution
> 	> erlrt:upgrade().
> 
> 
> session exemple:
> chris@REDACTED:~/Desktop> sh install_erlrt.sh please wait...
> Erlang (BEAM) emulator version 5.4.13 [source] [hipe] [threads:0]
> 
> Erlang/OTP R10B-10 darwin-powerpc stripped runtime 
> environment Eshell V5.4.13  (abort with ^G)
> 1> erlrt:install(tv).
> + gs md5=<<109,155,181,199,32,47,247,71,239,109,204,124,122,0,61,143>>
> + mnesia 
> md5=<<206,204,38,247,43,206,40,49,126,67,81,24,238,13,109,24>>
> + pman
> md5=<<86,63,0,213,103,200,76,219,187,140,187,148,113,171,196,202>>
> + tv md5=<<140,111,173,82,54,59,41,75,152,229,22,229,210,127,62,128>>
> ok
> 2>
> 
> Many thanks to Bengt Kleberg who hellped to make scripts not 
> to be "bash specific", gives erlrt web proxy support, and 
> added the sunos-sparc support in both erlrt and repos.
> 
> 



More information about the erlang-questions mailing list