xtoys: 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/xtoys - from package: xteddy

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