irrecord: 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/irrecord - from package: lirc

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

On Debian possible default full paths are:

/usr/bin/irrecord - from package: lirc

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