setupThePEG: 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 Debian possible default full paths are:

/usr/bin/setupThePEG - from package: thepeg

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