octave-config: 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/octave-config - from package: octave

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/octave-config - from package: liboctave-dev

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