First, install all the dependencies with the following command
sudo apt-get install gtk+-3.0 libglib2.0-dev libnss3-dev libpixman-1-dev libusb-1.0.0-dev libx11-dev libxv-dev pkg-config ninja-build
Later, move to the container directory, usually in
Although the installation is recommended in a non-isolated environment, it is more complicated. So once in the mentioned directory follow the next commands:
python3 -m venv venv
pip install -U pip
pip install meson
Once the isolated'environment was created is time to install the program. So the commands are as follow
venv/bin/meson builddir #After this line all dependencies should be in red YES
venv/bin/meson configure builddir -Ddoc=false -Dlibdir=lib
sudo ninja install
Finishing this, you must have the installation, to check out if it is working and if the installation is
Home just go to the directory
~/libfprint/builddir/examples and execute
sudo ./img_capture to register a fingerprint, or
sudo ./verify to verify a registered fingerprint.
If you want to use your fingerprint to login into your system, then you need to enroll it to fprint-demo. To do so just execute
sudo ./enroll considering you are in the last mentioned directory.
In case you haven't install fprint-demo just do
sudo apt-get install fprint-demo and to run it a simply
fprint_demo is enough.