byzanz-record: 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/byzanz-record - from package: byzanz

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

On Debian possible default full paths are:

/usr/bin/byzanz-record - from package: byzanz

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