gr_plot_psd command not found

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

Introduction

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

gr_plot_psd: command not found

or when using sudo you get the following error message

sudo: gr_plot_psd: command not found

Solutions to gr_plot_psd: command not found

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

In Ubuntu gr_plot_psd is provided by gnuradio package.

gnuradio is:

GNU Radio provides signal processing blocks to implement software radios. It can be used with readily-available low-cost external RF hardware to create software-defined radios, or without hardware in a simulation-like environment. It is widely used in hobbyist, academic and commercial environments to support both wireless communications research and real-world radio systems.

GNU Radio applications are primarily written using the Python programming language, while the supplied performance-critical signal processing path is implemented in C++ using processor floating-point extensions, where available. Thus, the developer is able to implement real-time, high-throughput radio systems in a simple-to-use, rapid-application-development environment.

While not primarily a simulation tool, GNU Radio does support development of signal processing algorithms using pre-recorded or generated data, avoiding the need for actual RF hardware.

This package contains the gnuradio-companion, a graphical tool for creating signal flow graphs and generating flow-graph source code. Also included are a variety of tools and utility programs.

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

sudo apt-get -y install gnuradio

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

You can also use apt command to install gnuradio.

sudo apt -y install gnuradio

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

sudo aptitude install gnuradio

Summary

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