mkenvdir: 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/mkenvdir - from package: rainbow

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