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

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