lightweight Erlang with package management

Christophe Romain christophe.romain@REDACTED
Sat Jul 1 00:34:48 CEST 2006

New version of erlrt is available !

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.


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
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 
+ tv md5=<<140,111,173,82,54,59,41,75,152,229,22,229,210,127,62,128>>

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