mlpack_fastmks: 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_fastmks - 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_fastmks - from package: mlpack-bin

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