How To Install python-gpiv on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-gpiv
on Ubuntu 18.04.
What is python-gpiv
python-gpiv is:
This module allows the functionality of libgpiv3 in Python scripts to develop programs for Particle Image Velocimetry (PIV). In this way you can extend the functionality of the PIV processing as provided by the programs of the gpivtools package and by Gpiv. An example script is provided in usr/docs, including a double-frame image for cross-correlation that can be interrogated by the script.
There are three methods to install python-gpiv
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 python-gpiv Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python-gpiv
using apt-get
by running the following command:
sudo apt-get -y install python-gpiv
Install python-gpiv Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-gpiv
using apt
by running the following command:
sudo apt -y install python-gpiv
Install python-gpiv 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 python-gpiv
using aptitude
by running the following command:
sudo aptitude -y install python-gpiv
How To Uninstall python-gpiv on Ubuntu 18.04
To uninstall only the python-gpiv
package we can use the following command:
sudo apt-get remove python-gpiv
Uninstall python-gpiv And Its Dependencies
To uninstall python-gpiv
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-gpiv
Remove python-gpiv Configurations and Data
To remove python-gpiv
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-gpiv
Remove python-gpiv configuration, data, and all of its dependencies
We can use the following command to remove python-gpiv
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-gpiv
References
Summary
In this tutorial we learn how to install python-gpiv
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.