How To Install libgpiv3 on Ubuntu 18.04

In this tutorial we learn how to install libgpiv3 on Ubuntu 18.04. libgpiv3 is library for Particle Image Velocimetry (PIV)

Introduction

In this tutorial we learn how to install libgpiv3 on Ubuntu 18.04.

What is libgpiv3

libgpiv3 is:

This library contains functions for evaluating images from a fluid flow by means of Particle Image Velocimetry (PIV).

PIV is a way to film the wind or liquid flows. It uses a sequence of at least two images that are recorded with a well controlled separation time in-between. Tracer particles that are resident in the fluid may be illuminated by a light source, mostly a laser, that has been re-shaped into a sheet of light. In this way, the average displacement and the deformation of the image texture is obtained. Applying this analyses on small samples of the images on a (rectangular) grid results into an instantaneous velocity field of the fluid flow. PIV may also be applied for other purposes, like deformations and vibrations of solid surfaces.

This library includes the core functions for image recording, processing, interrogation, PIV data validation, post-processing, input/output functions and memory allocation.

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

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

sudo apt-get update

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

sudo apt-get -y install libgpiv3

Install libgpiv3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgpiv3 using apt by running the following command:

sudo apt -y install libgpiv3

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

sudo aptitude -y install libgpiv3

How To Uninstall libgpiv3 on Ubuntu 18.04

To uninstall only the libgpiv3 package we can use the following command:

sudo apt-get remove libgpiv3

Uninstall libgpiv3 And Its Dependencies

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

sudo apt-get -y autoremove libgpiv3

Remove libgpiv3 Configurations and Data

To remove libgpiv3 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgpiv3

Remove libgpiv3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgpiv3

References

Summary

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