How To Install bluez-source on Kali Linux

In this tutorial we learn how to install bluez-source on Kali Linux. bluez-source is Source code for the BlueZ Linux Bluetooth stack

Introduction

In this tutorial we learn how to install bluez-source on Kali Linux.

What is bluez-source

bluez-source is:

This package contains the sources and patches which are needed to build bluez.

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

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

Install bluez-source Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install bluez-source

Install bluez-source Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bluez-source

Install bluez-source Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install bluez-source

How To Uninstall bluez-source on Kali Linux

To uninstall only the bluez-source package we can use the following command:

sudo apt-get remove bluez-source

Uninstall bluez-source And Its Dependencies

To uninstall bluez-source and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove bluez-source

Remove bluez-source Configurations and Data

To remove bluez-source configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge bluez-source

Remove bluez-source configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bluez-source

Dependencies

bluez-source have the following dependencies:

References

Summary

In this tutorial we learn how to install bluez-source package on Kali Linux using different package management tools: apt, apt-get and aptitude.