appres: 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/appres - from package: xorg-x11-resutils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/appres - from package: x11-utils

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