How To Install pirl-image-tools on Ubuntu 18.04

In this tutorial we learn how to install pirl-image-tools on Ubuntu 18.04. pirl-image-tools is PIRL Image Tools

Introduction

In this tutorial we learn how to install pirl-image-tools on Ubuntu 18.04.

What is pirl-image-tools

pirl-image-tools is:

Image_Tools: Classes for obtaining metadata information from JP2 files, plus an ImageInputStream implementation for access to files remotely via an HTTP server.

This package contains the command line image tools from PIRL Java Packages

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

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

sudo apt-get update

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

sudo apt-get -y install pirl-image-tools

Install pirl-image-tools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pirl-image-tools using apt by running the following command:

sudo apt -y install pirl-image-tools

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

sudo aptitude -y install pirl-image-tools

How To Uninstall pirl-image-tools on Ubuntu 18.04

To uninstall only the pirl-image-tools package we can use the following command:

sudo apt-get remove pirl-image-tools

Uninstall pirl-image-tools And Its Dependencies

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

sudo apt-get -y autoremove pirl-image-tools

Remove pirl-image-tools Configurations and Data

To remove pirl-image-tools configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pirl-image-tools

Remove pirl-image-tools configuration, data, and all of its dependencies

We can use the following command to remove pirl-image-tools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pirl-image-tools

References

Summary

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