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

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