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

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