gdal2xyz.py: 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/gdal2xyz.py - from package: gdal-python

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

On Debian possible default full paths are:

/usr/bin/gdal2xyz.py - from package: python-gdal

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