How To Install gpsd-clients on Debian 9
Introduction
In this tutorial we learn how to install gpsd-clients
on Debian 9.
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 and testing gpsd.
There are three methods to install gpsd-clients
on Debian 9. 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 Debian. 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 Debian 9
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 Debian 9, 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 Debian 9 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
Dependencies
gpsd-clients have the following dependencies:
References
Summary
In this tutorial we learn how to install gpsd-clients
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.