How To Install fso-gpsd on Debian 9

In this tutorial we learn how to install fso-gpsd on Debian 9. fso-gpsd is gpsd subset compatibility daemon for the freesmarpthone.org frameworkd

Introduction

In this tutorial we learn how to install fso-gpsd on Debian 9.

What is fso-gpsd

fso-gpsd is:

The fso-gpsd daemon provides a functional subset of gpsd interface to client applications, while using the services of the freesmartphone.org frameworkd daemon.

This package is an addition to the freesmartphone.org software stack and is targeted for smartphones.

There are three methods to install fso-gpsd 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 fso-gpsd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fso-gpsd

Install fso-gpsd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fso-gpsd

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

sudo aptitude -y install fso-gpsd

How To Uninstall fso-gpsd on Debian 9

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

sudo apt-get remove fso-gpsd

Uninstall fso-gpsd And Its Dependencies

To uninstall fso-gpsd and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove fso-gpsd

Remove fso-gpsd Configurations and Data

To remove fso-gpsd configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge fso-gpsd

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

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

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

Dependencies

fso-gpsd have the following dependencies:

References

Summary

In this tutorial we learn how to install fso-gpsd package on Debian 9 using different package management tools: apt, apt-get and aptitude.