spectool_raw command not found

In this troubleshooting guide we learn how to fix spectool_raw command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

spectool_raw: command not found

or when using sudo you get the following error message

sudo: spectool_raw: command not found

Solutions to spectool_raw: command not found

How To Fix spectool_raw: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu spectool_raw is provided by spectools package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install spectools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install spectools.

sudo apt -y install spectools

Or if you have aptitude installed you can use the following command.

sudo aptitude install spectools

Summary

In this tutorial we learn how to fix spectool_raw command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.