maxima_detect: 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/libexec/TeXmacs/bin/maxima_detect - from package: TeXmacs

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