raku command not found

In this troubleshooting guide we learn how to fix raku command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

raku: command not found

or when using sudo you get the following error message

sudo: raku: command not found

Solutions to raku: command not found

How To Fix raku: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu raku is provided by rakudo package.

rakudo is:

Rakudo Perl is a compiler that implements the Perl 6 specification and runs on top of several virtual machines. Debian rakudo package runs on top of MoarVM.

Perl 6 is a programming language, member of the Perl family. Like Perl 5, her world-famous big sister, Perl 6 intends to carry forward the high ideals of the Perl community and is currently being developed by a team of dedicated and enthusiastic volunteers.

valgrind package installation is suggested to debug issues with perl6-valgrind-m program.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rakudo

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rakudo.

sudo apt -y install rakudo

Or if you have aptitude installed you can use the following command.

sudo aptitude install rakudo

Summary

In this tutorial we learn how to fix raku command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.