How To Install spectools on Debian 9

In this tutorial we learn how to install spectools on Debian 9. spectools is Utilities for using the Wi-Spy USB spectrum analyzer hardware

Introduction

In this tutorial we learn how to install spectools on Debian 9.

What is spectools

spectools is:

Spectrum-Tools is a set of utilities for using the Wi-Spy USB spectrum analyzer tools from Metageek LLC. They include userspace drivers for the hardware (implemented via libusb), a graphing UI built on GTK/Cairo, network servers for remote devices, and simple utilities for developing additional tools.

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

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

sudo apt-get update

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

sudo apt-get -y install spectools

Install spectools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install spectools using apt by running the following command:

sudo apt -y install spectools

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

sudo aptitude -y install spectools

How To Uninstall spectools on Debian 9

To uninstall only the spectools package we can use the following command:

sudo apt-get remove spectools

Uninstall spectools And Its Dependencies

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

sudo apt-get -y autoremove spectools

Remove spectools Configurations and Data

To remove spectools configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge spectools

Remove spectools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge spectools

Dependencies

spectools have the following dependencies:

References

Summary

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