Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Getting Perl 6 on Debian Jessie with Rakudo?

by nysus (Priest)
on Feb 12, 2017 at 14:52 UTC ( #1181813=perlquestion: print w/replies, xml ) Need Help??
nysus has asked for the wisdom of the Perl Monks concerning the following question:

On Debian Jessie, can I just do apt-get install rakudo and be done with it? I have zero need to have the latest and greatest version of Perl 6. I'm more interested in not have one more thing to keep track of. I just want to kick Perl 6 tires. I don't even need to test drive.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re: Getting Perl 6 on Debian Jessie with Rakudo?
by duelafn (Vicar) on Feb 13, 2017 at 12:53 UTC

    The rakudo in Jessie is quite old (still based on parrot virtual machine), but should work for simple experiments (but don't be surprised if some examples you see on the web don't work). Then, once you upgrade to Stretch (which just went into freeze) you'll have a reasonably current version (supporting the 6.c spec).

    Good Day,

Re: Getting Perl 6 on Debian Jessie with Rakudo?
by stevieb (Abbot) on Feb 12, 2017 at 16:02 UTC

    I don't have a Debian box, but it sure worked for me on my new Linux Mint laptop:

    spek@sequoia ~/repos/berrybrew $ sudo apt-get install rakudo [sudo] password for spek: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libjs-angularjs libjs-bootstrap libtommath0 moarvm nqp rakudo-lib Suggested packages: valgrind The following NEW packages will be installed: libjs-angularjs libjs-bootstrap libtommath0 moarvm nqp rakudo rakudo +-lib 0 upgraded, 7 newly installed, 0 to remove and 160 not upgraded. Need to get 4,381 kB of archives. After this operation, 29.9 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 xenial/main amd64 libjs-angular +js all 1.2.28-1ubuntu2 [348 kB] Get:2 xenial/universe amd64 libjs-boo +tstrap all 3.3.6+dfsg-1 [227 kB] Get:3 xenial/main amd64 libtommath0 a +md64 0.42.0-1.2 [41.8 kB] Get:4 xenial/universe amd64 moarvm am +d64 2015.11-2 [706 kB] Get:5 xenial/universe amd64 nqp all 2 +015.11-2 [517 kB] Get:6 xenial/universe amd64 rakudo-li +b amd64 2015.11-2build1 [15.1 kB] Get:7 xenial/universe amd64 rakudo al +l 2015.11-2build1 [2,525 kB] Fetched 4,381 kB in 3s (1,098 kB/s) Selecting previously unselected package libjs-angularjs. (Reading database ... 215595 files and directories currently installed +.) Preparing to unpack .../libjs-angularjs_1.2.28-1ubuntu2_all.deb ... Unpacking libjs-angularjs (1.2.28-1ubuntu2) ... Selecting previously unselected package libjs-bootstrap. Preparing to unpack .../libjs-bootstrap_3.3.6+dfsg-1_all.deb ... Unpacking libjs-bootstrap (3.3.6+dfsg-1) ... Selecting previously unselected package libtommath0. Preparing to unpack .../libtommath0_0.42.0-1.2_amd64.deb ... Unpacking libtommath0 (0.42.0-1.2) ... Selecting previously unselected package moarvm. Preparing to unpack .../moarvm_2015.11-2_amd64.deb ... Unpacking moarvm (2015.11-2) ... Selecting previously unselected package nqp. Preparing to unpack .../archives/nqp_2015.11-2_all.deb ... Unpacking nqp (2015.11-2) ... Selecting previously unselected package rakudo-lib. Preparing to unpack .../rakudo-lib_2015.11-2build1_amd64.deb ... Unpacking rakudo-lib (2015.11-2build1) ... Selecting previously unselected package rakudo. Preparing to unpack .../rakudo_2015.11-2build1_all.deb ... Unpacking rakudo (2015.11-2build1) ... Processing triggers for man-db (2.7.5-1) ... Setting up libjs-angularjs (1.2.28-1ubuntu2) ... Setting up libjs-bootstrap (3.3.6+dfsg-1) ... Setting up libtommath0 (0.42.0-1.2) ... Setting up moarvm (2015.11-2) ... Setting up nqp (2015.11-2) ... Setting up rakudo-lib (2015.11-2build1) ... Setting up rakudo (2015.11-2build1) ... Processing triggers for libc-bin (2.23-0ubuntu5) ... spek@sequoia ~/repos/berrybrew $ perl6 -v This is perl6 version 2015.11 built on MoarVM version 2015.11

      Yeah, I'm a little gun shy about adding stuff from unsupported repositories. Maybe it's for no good reason but I've heard others tell me it's a bad idea.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

        The only things I don't do on my Linux installations is a) muck with system Perl; and b) muck with system Python. Beyond that, anything is fair game (using reasonable judgment of course... if apt-get install can, I will. In this case, since it worked directly, I'd say it's a supported repo, not an unsupported one ;).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1181813]
Approved by haukex
Front-paged by haukex
[Corion]: Hmm. I think overnight I decided on simplifying some code. I have plugin classes that do data import (.csv, .yml, .json) and for that create objects on which then ->load() is called. But YAML::XS doesn't have an object, so I wrote my own wrapper.
[Corion]: This evening, I'll kill that wrapper again, and just call LoadFile() in the plugin class directly instead of creating a go-between object for no real gain.
[Corion]: Writing these import plugins was really nice though - in about 2 hours, I had imports for CSV, YAML and JSON, and adding XLS(X), SQLite (or DBI) data sources is also trivial. I'm idly wondering about separating the plugin into transport+parser, so ...
[Corion]: ... http:// URLs could be retrieved and then parsed, but I think that that would be overkill for a toy static site generator ;)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-05-22 11:04 GMT
Find Nodes?
    Voting Booth?