How To Install fprint-demo on Ubuntu 18.04

In this tutorial we learn how to install fprint-demo on Ubuntu 18.04. fprint-demo is simple GTK+ testing libfprints functions

Introduction

In this tutorial we learn how to install fprint-demo on Ubuntu 18.04.

What is fprint-demo

fprint-demo is:

fprint-demo is a simple GTK+ application to demonstrate and test libfprint’s capabilities

It allows user-interaction to enroll finger images and, depending scanner vendors, show both normal and binarized representation, including detected minutiaes

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

Install fprint-demo Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fprint-demo

Install fprint-demo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fprint-demo

Install fprint-demo 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install fprint-demo

How To Uninstall fprint-demo on Ubuntu 18.04

To uninstall only the fprint-demo package we can use the following command:

sudo apt-get remove fprint-demo

Uninstall fprint-demo And Its Dependencies

To uninstall fprint-demo and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove fprint-demo

Remove fprint-demo Configurations and Data

To remove fprint-demo configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fprint-demo

Remove fprint-demo configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fprint-demo

References

Summary

In this tutorial we learn how to install fprint-demo package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.