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

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