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

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