btscanner command not found

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

Introduction

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

btscanner: command not found

or when using sudo you get the following error message

sudo: btscanner: command not found

Solutions to btscanner: command not found

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

In Ubuntu btscanner is provided by btscanner package.

btscanner is:

btscanner is a tool designed specifically to extract as much information as possible from a Bluetooth device without the requirement to pair. A detailed information screen extracts HCI and SDP information, and maintains an open connection to monitor the RSSI and link quality. btscanner is based on the BlueZ Bluetooth stack, which is included with recent Linux kernels, and the BlueZ toolset. btscanner also contains a complete listing of the IEEE OUI numbers and class lookup tables. Using the information gathered from these sources it is possible to make educated guesses as to the host device type.

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

sudo apt-get -y install btscanner

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

You can also use apt command to install btscanner.

sudo apt -y install btscanner

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

sudo aptitude install btscanner

Summary

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