xgps command not found

In this troubleshooting guide we learn how to fix xgps command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xgps: command not found

or when using sudo you get the following error message

sudo: xgps: command not found

Solutions to xgps: command not found

How To Fix xgps: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xgps is provided by gpsd-clients package.

gpsd-clients is:

The gpsd service daemon can monitor one or more GPS devices connected to a host computer, making all data on the location and movements of the sensors available to be queried on TCP port 2947.

This package contains auxiliary tools and example clients for monitoring, testing, latency-profiling, device configuration and simulating gpsd.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gpsd-clients

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gpsd-clients.

sudo apt -y install gpsd-clients

Or if you have aptitude installed you can use the following command.

sudo aptitude install gpsd-clients

Summary

In this tutorial we learn how to fix xgps command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.