perl6-p: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/perl6-p - from package: rakudo

You may install the required package with command apt-get install {package}
Error in other languages:
perl6-p: bevel nie gevind nie
perl6-p: comandă negăsită
perl6-p: comando não encontrado
perl6-p: commande introuvable
perl6-p: command not found
perl6-p: käsku ei ole
perl6-p: không tìm thấy lệnh
perl6-p: komanda nerasta
perl6-p: Kommando nicht gefunden.
perl6-p: kommandot finns inte
perl6-p: komut yok
perl6-p: nie znaleziono polecenia
perl6-p: níor aimsíodh an t-ordú
perl6-p: no se encontró la orden
perl6-p: no s'ha trobat l'ordre
perl6-p: opdracht niet gevonden
perl6-p: parancs nem található
perl6-p: perintah tidak ditemukan
perl6-p: príkaz nenájdený
perl6-p: příkaz nenalezen
perl6-p: команда не найдена
perl6-p: командата не е открита
perl6-p: 命令找不到
perl6-p: コマンドが見つかりません