in reply to [RAKU] How to install zef on Ubuntu 22.04

Although there are still kind people on PerlMonks trying to answer Raku questions, I would not recommend PerlMonks as a place to ask questions about the Raku Programming Language.

StackOverflow (https://stackoverflow.com/questions/tagged/raku) would be a better place, as well as Reddit (https://www.reddit.com/r/rakulang), or on IRC (#raku / #raku-beginner on Libera.chat), or on the Raku community on Discord (which is bridged to IRC).

As I only visit PerlMonks for Raku content once a week while making the Rakudo Weekly News (https://rakudoweekly.blog/blog-feed/), I sadly did not see this question before.

Claudio Ramirez is maintaining installable packages for many Linux distributions which include zef: https://nxadm.github.io/rakudo-pkg/ . Ubuntu is also supported. I recommend you go that route!

  • Comment on Re: [RAKU] How to install zef on Ubuntu 22.04

Replies are listed 'Best First'.
Re^2: [RAKU] How to install zef on Ubuntu 22.04
by Anonymous Monk on Jan 03, 2024 at 15:51 UTC
    These alternative suggestions may help with Polygots inability to install raku/zen, but won't deal with the underlying issue that Polygot seems unable to take advice on with UTF8. Perl 5 isn't the issue, Raku isn't the issue, the user is the issue.
      Actually, UTF8 is not the major issue...it's just one of the tipping points. I have no issues with my UTF8 code, other than tedium in keeping track of it and making sure any new code updates are UTF8 compliant. That tedium would be erased by an all-UTF8 solution, such as Raku offers.

      But the bigger issue for me is actually that my code has run into browser-related issues (browsers no longer work as they used to years ago when I started, and now force me to make changes). For example, I have never before used cookies; never needed them, nor wanted them (no need to post those massively annoying and now legally required cookie notices if not using them). Now I am experiencing anomalies because of my hidden-field data, and the updates are a massive headache when subroutines cannot accept named variables. Raku's subroutines do support named variables, which would solve this problem and make my code more maintainable and future-proof.

      Blessings,

      ~Polyglot~

        "I have never needed them, nor wanted them (no need to post those massively annoying and now legally required cookie notices if not using them)."

        Then don't use them?

        "Now I am experiencing anomalies because of my hidden-field data"

        Sounds like an issue with your code... which can happen regardless of the language used ;). Modern frameworks make life easier, and more fun, e.g. Mojolicious.

        "updates are a massive headache when subroutines cannot accept named variables"

        Perlcook book (2003?) - 10.7. Passing by Named Parameter.

        "Raku's subroutines do support named variables, which would solve this problem and make my code more maintainable and future-proof."

        Debatable.

Re^2: [RAKU] How to install zef on Ubuntu 22.04
by Polyglot (Chaplain) on Jan 10, 2024 at 14:03 UTC
    Thanks to additional information as to where to find these packages, I was able to correctly install zef after reinstalling rakudo. Apparently, even the rakudo package cannot be installed on Ubuntu 22.04 using the typical apt-get method, but when installed from the obscure site linked above (i.e. https://nxadm.github.io/rakudo-pkg/), zef can then also be installed and function correctly. Following this, I was able to install DBIish, but have had other demands on my time since then that have so far prevented me from testing the setup further. I believe, however, that the way forward now has a green light, and I thank you very much for providing this answer.
                                    |
                                    |
                                   _|_
                                 / ___ \
                                / /___\ \
    \__________________________\    o    /__________________________/
     '----*-----|------|-----||-\       /-||-----|------|-----*----'
               (O)    (O)   {▒▒} \_____/ {▒▒}   (O)    (O)
                               O|OOo|oOO|O 
    
    Ready to fly again!
    

    Blessings,

    ~Polyglot~