viewgar: 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/viewgar - from package: ginac-tools

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