cgps: 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/cgps - from package: gpsd-clients

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