Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rakudo perl 6 portable edition

Tags:

raku

is there a portable edition of perl 6 ?

or its possible to compile it and install some modules zip all to one directory , and then unzip on different machines having the same OS ?

like image 705
jsor Avatar asked Apr 16 '18 18:04

jsor


3 Answers

If both computers have the same filesystem layout -- maybe. At the very least all absolute paths to these items would need to be identical or else you'd have bad precompiled files everywhere.

Of course this is not a very practical solution ( how many computers do you have with the same home directory ), but for instance you could ( and indeed we used to ): build rakudo inside of travis-ci, push the entire folder to a private repo, and then could pull that repo down from other travis instances to get an already-built version of the very latest rakudo release.

like image 76
ugexe Avatar answered Feb 17 '23 02:02

ugexe


May be you can run Perl 6 on Android: https://github.com/termux/termux-packages/issues/1324, but current there is no package for Perl 6 on Termux.

like image 33
ohmycloudy Avatar answered Feb 17 '23 01:02

ohmycloudy


Some time in 2019 Rakudo gained the ability to be relocated. Since the 2019.11 release pre-compiled, relocatable binaries are provided for every release. They can be downloaded from rakudo.org.

So you can download such an archive, extract it to some folder, install modules with the included package manager zef, bundle it up with your own code, zip it and it will work on any computer (given it's the same architecture and OS), in any folder.

like image 34
Patrick Böker Avatar answered Feb 17 '23 00:02

Patrick Böker