lightweight Erlang with package management
ke han
ke.han@REDACTED
Sat Jul 1 09:54:13 CEST 2006
I am in process of compiling archives for OS X intel and freeBSD
6.1. How should I test / upload the archives when the compiles are
done?
ke han
On Jun 30, 2006, at 9:39 PM, Christophe Romain wrote:
> New version of erlrt is available !
> http://erlrt.process-one.net/
>
> erlrt aims to be for Erlang what CPAN is for Perl.
>
> It 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.
>
> we are ready to add several erlang applications into erlrt if
> packaged the otp way.
>
> new 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