mlpack_kmeans: 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_kmeans - 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_kmeans - from package: mlpack-bin

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