hcidump command not found

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

Introduction

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

hcidump: command not found

or when using sudo you get the following error message

sudo: hcidump: command not found

Solutions to hcidump: command not found

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

In Ubuntu hcidump is provided by bluez-hcidump package.

bluez-hcidump is:

The hcidump utility allows the monitoring of Bluetooth activity. It provides a disassembly of the Bluetooth traffic and can display packets from higher level protocols such as RFCOMM, SDP and BNEP.

This was the software that is independent as bluez-hcidump, but this has been integrated into BlueZ from BlueZ 5.0.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL).

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

sudo apt-get -y install bluez-hcidump

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

You can also use apt command to install bluez-hcidump.

sudo apt -y install bluez-hcidump

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

sudo aptitude install bluez-hcidump

Summary

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