tm_octave: 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/tm_octave - from package: TeXmacs

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