mcpani: 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/mcpani - from package: libcpan-mini-inject-perl

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