smog_p_spectrum command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smog_p_spectrum: command not found
or when using sudo you get the following error message
sudo: smog_p_spectrum: command not found
Solutions to smog_p_spectrum: command not found
How To Fix smog_p_spectrum: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smog_p_spectrum is provided by gr-satellites package.
gr-satellites is:
This GNU Radio out-of-tree module can be used to decode frames transmitted from most Amateur satellites in orbit, performing demodulation, forward error correction, etc. Decoded frames can be saved to a file or displayed in hex format. For some satellites the telemetry format definition is included in gr-satellites, so the decoded telemetry frames can be printed out as human-readable values such as bus voltages and currents. Additionally, some satellites transmit files such as JPEG images. gr-satellites can be used to reassemble these files and even display the images in real-time as they are being received.
It supports most popular protocols, such as AX.25, the GOMspace NanoCom U482C and AX100 modems, an important part of the CCSDS stack, the AO-40 protocol used in the FUNcube satellites, and several ad-hoc protocols used in other satellites.
This package contains the header files and grc block definitions, and a set of satellite telemetry decoding scripts.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gr-satellites
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gr-satellites.
sudo apt -y install gr-satellites
Or if you have aptitude installed you can use the following command.
sudo aptitude install gr-satellites
Summary
In this tutorial we learn how to fix smog_p_spectrum command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.