generate: 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/generate - from package: telegram-cli

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

On Debian possible default full paths are:

/usr/lib/x86_64-linux-gnu/gap/pkg/guava/bin/leon/generate - from package: gap-guava-bin

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