How To Install libpam-blue on Kali Linux

In this tutorial we learn how to install libpam-blue on Kali Linux. libpam-blue is PAM module for local authenticaction with bluetooth devices

Introduction

In this tutorial we learn how to install libpam-blue on Kali Linux.

What is libpam-blue

libpam-blue is:

pam_blue is a dynamically loadable binary object for the PAM security framework in Linux. It is presented as an extension for the common PAM modules, gives the user the ability for authenticate via a Bluetooth-compatible device like a cell phone or other bluetooth dongles (e.g. epox-presenter). Due to the fact that a whole part of the Bluetooth stack is implemented in hardware-side it is relatively difficult to change the Bluetooth hardware MAC address which makes this module more secure.

There are three methods to install libpam-blue 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 libpam-blue Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libpam-blue

Install libpam-blue Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpam-blue

Install libpam-blue 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 libpam-blue using aptitude by running the following command:

sudo aptitude -y install libpam-blue

How To Uninstall libpam-blue on Kali Linux

To uninstall only the libpam-blue package we can use the following command:

sudo apt-get remove libpam-blue

Uninstall libpam-blue And Its Dependencies

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

sudo apt-get -y autoremove libpam-blue

Remove libpam-blue Configurations and Data

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

sudo apt-get -y purge libpam-blue

Remove libpam-blue configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpam-blue

Dependencies

libpam-blue have the following dependencies:

References

Summary

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