ocamlgraph-editor: 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 Debian possible default full paths are:

/usr/bin/ocamlgraph-editor - from package: ocamlgraph-editor

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