hackrf_info command not found

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

Introduction

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

hackrf_info: command not found

or when using sudo you get the following error message

sudo: hackrf_info: command not found

Solutions to hackrf_info: command not found

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

In Ubuntu hackrf_info is provided by hackrf package.

hackrf is:

HackRF is an open source Software Defined Radio that can receive and transmit between 30 MHz and 6 GHz. HackRF has a 20 MHz bandwidth. It is a High Speed USB device powered by the USB bus.

This package contains a set of command line utilities:

  • hackrf_cpldjtag: program CLPD
  • hackrf_info: probe device and show configuration
  • hackrf_max2837: chip register read/write tool
  • hackrf_rffc5071: chip register read/write tool
  • hackrf_si5351c: chip register read/write tool
  • hackrf_spiflash: read and write flash data from file.
  • hackrf_transfer: file based transmit and receive sdr

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

sudo apt-get -y install hackrf

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

You can also use apt command to install hackrf.

sudo apt -y install hackrf

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

sudo aptitude install hackrf

Summary

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