mlpack_sparse_coding: 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_sparse_coding - 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_sparse_coding - from package: mlpack-bin

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