How To Install btscanner on Debian 10

Learn how to install btscanner on Debian 10 with this tutorial. btscanner is ncurses-based scanner for Bluetooth devices

Introduction

In this tutorial we learn how to install btscanner on Debian 10.

What is btscanner

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.

There are three methods to install btscanner on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install btscanner Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install btscanner using apt-get by running the following command:

sudo apt-get -y install btscanner

Install btscanner Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install btscanner using apt by running the following command:

sudo apt -y install btscanner

Install btscanner Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install btscanner using aptitude by running the following command:

sudo aptitude -y install btscanner

How To Uninstall btscanner on Debian 10

To uninstall only the btscanner package we can use the following command:

sudo apt-get remove btscanner

Uninstall btscanner And Its Dependencies

To uninstall btscanner and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove btscanner

Remove btscanner Configurations and Data

To remove btscanner configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge btscanner

Remove btscanner configuration, data, and all of its dependencies

We can use the following command to remove btscanner configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge btscanner

Dependencies

btscanner have the following dependencies:

References

Summary

In this tutorial we learn how to install btscanner package on Debian 10 using different package management tools: apt, apt-get and aptitude.