ubertooth-afh command not found

In this troubleshooting guide we learn how to fix ubertooth-afh command not found error message

Introduction

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

ubertooth-afh: command not found

or when using sudo you get the following error message

sudo: ubertooth-afh: command not found

Solutions to ubertooth-afh: command not found

How To Fix ubertooth-afh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ubertooth-afh is provided by ubertooth package.

ubertooth is:

Project Ubertooth is an open source wireless development platform suitable for Bluetooth experimentation. This package contains everything necessary to use the hardware dongle.

Ubertooth is capable of sniffing BLE (Bluetooth Smart) connections and it also has some ability to sniff some data from Basic Rate (BR) Bluetooth Classic connections.

In addition to the Bluetooth specific capabilities, there is also a simple spectrum analyzer for the 2.4 GHz band included (ubertooth-specan-ui) which can be used to also observe other things in this frequency band.

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

sudo apt-get -y install ubertooth

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

You can also use apt command to install ubertooth.

sudo apt -y install ubertooth

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

sudo aptitude install ubertooth

Summary

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