How To Install libpirl-java on Ubuntu 18.04

In this tutorial we learn how to install libpirl-java on Ubuntu 18.04. libpirl-java is PIRL Java Packages

Introduction

In this tutorial we learn how to install libpirl-java on Ubuntu 18.04.

What is libpirl-java

libpirl-java is:

Conductor: An application to manage procedure pipelines with classes to resolve references to parameters (as are used in Configuration objects) and Database fields, asynchronous thread logging of streams, and utility applications to exercise the mathematical expression evaluator (JCM) and send email notification messages to a list of recipients. The Conductor application requires (as of Java 1.4) a patch to the Process class implementation. This is provided separately in the Process.patch tarball. A sample pipeline kit for processing MOC images with the ISIS software is in the moclevall-kit tarball.

Configuration: An extension of the PVL.Parameter class for convenient management of configuration parameters.

Database: A simplified interface for access to, and basic management of, relational SQL databases. An example database query tool is included.

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

PVL: The PIRL Parameter Value Language package provides for the input, output and manipulation of generic parameters and their data values. A PVL_to_DB class is provided to map PVL Parameter Values into Database fields for update or insert operations.

Strings: Character string manipulation capabilities used by the other PIRL packages.

Utilities: Miscellaneous utilities classes that handle various helpful operations not easily classified into the classes of other packages.

Viewers: Classes for common capabilies associated with GUI viewers, plus GUI viewers associated with other PIRL packages.

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

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

sudo apt-get update

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

sudo apt-get -y install libpirl-java

Install libpirl-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpirl-java

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

sudo aptitude -y install libpirl-java

How To Uninstall libpirl-java on Ubuntu 18.04

To uninstall only the libpirl-java package we can use the following command:

sudo apt-get remove libpirl-java

Uninstall libpirl-java And Its Dependencies

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

sudo apt-get -y autoremove libpirl-java

Remove libpirl-java Configurations and Data

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

sudo apt-get -y purge libpirl-java

Remove libpirl-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpirl-java

References

Summary

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