TIDE
Languages

Raku

Installing Raku on Ubuntu in TIDE

Raku

Raku (formerly known as Perl 6) is a highly expressive, multi-paradigm programming language with features for object-oriented, functional, and imperative programming.

Installation

On Ubuntu, Raku can be installed via apt using the rakudo package (the flagship compiler implementation running on MoarVM), along with zef (the Raku module manager).

Run the following commands in TIDE's terminal:

sudo apt update
sudo apt install -y rakudo zef

Alternatively, you can install Raku via rakubrew:

curl -sL https://rakubrew.org/install-on-perl.sh | perl
rakubrew download

Verification

Verify that Raku is installed correctly:

raku -v

Writing and Running Code

Create a file named hello.raku:

hello.raku
say "Hello, World from Raku!";

Run the file using the Raku interpreter:

raku hello.raku

Official Resources

On this page