Somehow, my server's ubuntu version fell between the cracks with having a proper Raku distribution [EDIT: "zef" was deleted from the distro, as seen HERE]. I have followed various online guides for installing Raku's package manager, zef, to no avail. It goes without saying that to use Raku, installing Raku modules is important. Here's what I've tried:
#AS PER https://github.com/ugexe/zef $ git clone https://github.com/ugexe/zef.git $ cd zef $ raku -I. bin/zef install .
Having done the above from within my /usr/src directory, this resulted in a download and supposed install of the zef application. However, attempting to run "zef" at the command line resulted in....
Command 'zef' not found, did you mean: command 'zec' from deb zec (0.12-5) command 'zed' from deb zfs-zed (2.1.5-1ubuntu6~22.04.1) Try: apt install <deb name>
Not to be so easily deterred, I navigated to zef's /bin directory where the zef binary file was, and ran ./zef --help from there. This yielded the following results:
===SORRY!=== Error while compiling /usr/lib/perl6/zef/bin/./zef Could not find Zef::CLI in: inst#/root/.raku inst#/usr/lib/perl6/site inst#/usr/lib/perl6/vendor inst#/usr/lib/perl6/core ap# nqp# perl5# at /usr/lib/perl6/zef/bin/./zef:3
Noticing that the /usr/lib/perl6 directory seemed to be in the expected path, I moved the entire zef directory there, only to arrive at the same results.

An internet search then yielded another hope, which I tried--a page which claims to have been updated this very day.

#AS PER https://linux-packages.com/ubuntu-jammy-jellyfish/package/perl +6-zef perl6-zef on Ubuntu 22.04 LTS (Jammy Jellyfish) Last updated: December 28,2023 1. Install perl6-zef package Please follow the step by step instructions below to install perl6-zef + package: sudo apt update sudo apt install perl6-zef
Having completed the above steps, the results of the latter one were as follows:
Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package perl6-zef
...and I am essentially right back to where I began, with no 'zef' at all. An apt-cache search perl6 shows no zef option. It has only the following:
dh-perl6 - debhelper add-on to simplify Perl 6 package building libexport-attrs-perl - Perl 6 'is export(...)' trait as a Perl 5 attri +bute libmethod-signatures-perl - method and function declarations with sign +atures and no source filter libparse-method-signatures-perl - Perl module to parse Perl6-like meth +od signatures libperl6-caller-perl - Perl6-like OO caller() interface for Perl 5 libperl6-export-attrs-perl - Perl 6 'is export(...)' trait as a Perl 5 + attribute libperl6-export-perl - implementation of the Perl 6 'is export(...)' t +rait libperl6-form-perl - Perl 5 implementation of the Perl 6 'form' built- +in libperl6-junction-perl - module providing Perl6-style Junction operato +rs in Perl5 libperl6-say-perl - module to print without newline needed libperl6-slurp-perl - module implementing the Perl 6 'slurp' built-in libsyntax-keyword-junction-perl - Perl6 style Junction operators in Pe +rl5 nqp - Not Quite Perl compiler nqp-data - Data files for NQP compiler perl6-readline - Readline binding for Perl 6 raku-getopt-long - Getopt implementation for Raku rakudo - Perl 6 implementation on top of Moar virtual machine
Searching apt for 'zef' strangely nets this:
picard-tools - Command line tools to manipulate SAM and BAM files

Advice for correct installation of Raku's package manager on the latest Ubuntu LTS would be greatly appreciated.

Blessings,

~Polyglot~


In reply to [RAKU] How to install zef on Ubuntu 22.04 by Polyglot

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.