mlpack_nbc: 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 CentOS possible default full paths are:

/usr/bin/mlpack_nbc - from package: mlpack-bin

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mlpack_nbc - from package: mlpack-bin

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