gp2c-dbg: 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/gp2c-dbg - from package: pari-gp2c

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