在Ubuntu22.04LTS上,我可以像这样安装Rakudo (以前称为Perl 6):
sudo apt install rakudo然后,当我在命令行上运行raku时,我得到了以下输出:
$ 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'
> 我确实想为REPL提供行编辑功能。对于Ubuntu来说,最好的选择是什么?我是用zef还是用sudo apt安装一个软件包?软件包是在哪里安装的,我该如何撤消呢?
如果我试图运行zef,就会得到一个命令not。如果运行sudo apt install perl6-zef,就会得到以下错误:
E: Unable to locate package perl6-zef发布于 2022-10-20 03:18:11
不幸的是,我认为现在最好的解决方法是从https://rakudo.org/downloads安装rakudo,然后从https://github.com/ugexe/zef安装zef,然后使用zef安装Readline。
发布于 2022-08-15 16:53:37
https://rakudo.org/downloads拥有最新的二值图像。下载,解压缩并修复您的路径。
https://askubuntu.com/questions/1422671
复制相似问题