xdvi-xaw3d: 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 CentOS possible default full paths are:

/usr/bin/xdvi-xaw3d - from package: xdvik

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