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

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