How To Install libfprint-dev on Debian 9

In this tutorial we learn how to install libfprint-dev on Debian 9. libfprint-dev is async fingerprint library of fprint project, development headers

Introduction

In this tutorial we learn how to install libfprint-dev on Debian 9.

What is libfprint-dev

libfprint-dev is:

The fprint project aims to support for consumer fingerprint reader devices.

Previously, Linux support for such devices has been scattered amongst different projects (many incomplete) and inconsistent in that application developers would have to implement support for each type of fingerprint reader separately. The idea is to change that by providing a central system to support all the fingerprint readers as it’s possible to get hands on.

libfprint is the centre of efforts, this component does the dirty job of talking to fingerprint reading devices, and processing fingerprint data.

This library depends on the new libusb, which performs asynchronous callbacks, allowing fprint to perform non-blocking device tasks.

This package provides development headers.

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

Install libfprint-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libfprint-dev

Install libfprint-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfprint-dev

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

sudo aptitude -y install libfprint-dev

How To Uninstall libfprint-dev on Debian 9

To uninstall only the libfprint-dev package we can use the following command:

sudo apt-get remove libfprint-dev

Uninstall libfprint-dev And Its Dependencies

To uninstall libfprint-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libfprint-dev

Remove libfprint-dev Configurations and Data

To remove libfprint-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libfprint-dev

Remove libfprint-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfprint-dev

Dependencies

libfprint-dev have the following dependencies:

References

Summary

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