How To Install gpsd-clients on Ubuntu 20.04

In this tutorial we learn how to install gpsd-clients on Ubuntu 20.04. gpsd-clients is Global Positioning System - clients Global Positioning System - clients

Introduction

In this tutorial we learn how to install gpsd-clients on Ubuntu 20.04.

What is gpsd-clients

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.

Package: gpsd-clients Architecture: amd64 Version: 3.20-8 Priority: optional Section: universe/misc Source: gpsd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Bernd Zeimetz [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3248 Depends: libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libncurses6 (>= 6), libtinfo6 (>= 6), libusb-1.0-0 (>= 2:1.0.8), libgps26 (= 3.20-8), python3-gps, python3-gi, python3-cairo, gir1.2-gtk-3.0, python3-serial, python3-gi-cairo, python3 Suggests: gpsd Breaks: python-gps Replaces: python-gps Filename: pool/universe/g/gpsd/gpsd-clients_3.20-8_amd64.deb Size: 551668 MD5sum: 45b58fcc48f3f4ccaa2ab1f005447219 SHA1: 8d86ffb65c47688ff03d77b774f0e3d05d5515d1 SHA256: f1ddad69d5191e4c8582713b6f076476ea3e4327055b6acc1779576cb159d7f5 Homepage: http://www.catb.org/gpsd/ Description-en: Global Positioning System - clients 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.

There are three methods to install gpsd-clients on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gpsd-clients Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gpsd-clients using apt-get by running the following command:

sudo apt-get -y install gpsd-clients

Install gpsd-clients Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gpsd-clients using apt by running the following command:

sudo apt -y install gpsd-clients

Install gpsd-clients Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gpsd-clients using aptitude by running the following command:

sudo aptitude -y install gpsd-clients

How To Uninstall gpsd-clients on Ubuntu 20.04

To uninstall only the gpsd-clients package we can use the following command:

sudo apt-get remove gpsd-clients

Uninstall gpsd-clients And Its Dependencies

To uninstall gpsd-clients and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gpsd-clients

Remove gpsd-clients Configurations and Data

To remove gpsd-clients configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gpsd-clients

Remove gpsd-clients configuration, data, and all of its dependencies

We can use the following command to remove gpsd-clients configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gpsd-clients

References

Summary

In this tutorial we learn how to install gpsd-clients package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.