How To Install gpsd-dbg on Ubuntu 20.04

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

Introduction

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

What is gpsd-dbg

gpsd-dbg 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 the python debug modules and some test tools to the debug the behaviour of gpsd. Debug symbols are being shipped in the dbgsym package.

Package: gpsd-dbg Architecture: amd64 Version: 3.20-8 Priority: extra Section: universe/debug Source: gpsd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Bernd Zeimetz [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1882 Depends: libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libgcc-s1 (>= 3.0), libqgpsmm26 (>= 3.3), libstdc++6 (>= 5.2), libusb-1.0-0 (>= 2:1.0.8), python3-dbg:any (>= 3.5~), python3:any, libgps26 (= 3.20-8) | gpsd (= 3.20-8) | gpsd-clients (= 3.20-8) | python3-gps (= 3.20-8) Suggests: gpsd-dbgsym Filename: pool/universe/g/gpsd/gpsd-dbg_3.20-8_amd64.deb Size: 295516 MD5sum: 44eac4bfd79e3fa1cd2312962b713e86 SHA1: 85083ef6f8580ade0d2fb8b630ff02cabf5a4aac SHA256: 0b0da18dd92b3fada1c245517e461b38a5c3d0cc44a7cfa99ba0e4333f06f7a2 Homepage: http://www.catb.org/gpsd/ Description-en: Global Positioning System - debugging symbols 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 the python debug modules and some test tools to the debug the behaviour of gpsd. Debug symbols are being shipped in the dbgsym package.

There are three methods to install gpsd-dbg 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-dbg 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-dbg using apt-get by running the following command:

sudo apt-get -y install gpsd-dbg

Install gpsd-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpsd-dbg

Install gpsd-dbg 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-dbg using aptitude by running the following command:

sudo aptitude -y install gpsd-dbg

How To Uninstall gpsd-dbg on Ubuntu 20.04

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

sudo apt-get remove gpsd-dbg

Uninstall gpsd-dbg And Its Dependencies

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

sudo apt-get -y autoremove gpsd-dbg

Remove gpsd-dbg Configurations and Data

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

sudo apt-get -y purge gpsd-dbg

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

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

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

References

Summary

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