1

On Ubuntu 22.04 LTS, I can install Rakudo (formerly known as Perl 6) like this:

sudo apt install rakudo

Then when I run raku on the command-line, I get this output:

$ raku
Welcome to Rakudo™ v2022.02.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.02.

You may want to zef install Readline, zef install Linenoise, or zef install Terminal::LineEditor or use rlwrap for a line editor

To exit type 'exit' or '^D' >

I do want to have line editing features for the Raku REPL. What is the best option here for Ubuntu? Should I install a package with zef or with sudo apt? Where do the packages get installed and how do I undo that?

If I try to run zef, I get a command not found error. If I run sudo apt install perl6-zef, I get this error:

E: Unable to locate package perl6-zef
Flimm
  • 44,031

2 Answers2

2

I think the best answer right now, unfortunately, is to install rakudo from https://rakudo.org/downloads, then install zef from https://github.com/ugexe/zef, and then use zef to install Readline.

Mark Reed
  • 231
1

https://rakudo.org/downloads had the most current binary images. Download, untar and fix your PATH.

Fritz
  • 11
  • 1