How To Install libuima-tools-java on Ubuntu 18.04

In this tutorial we learn how to install libuima-tools-java on Ubuntu 18.04. libuima-tools-java is UIMA library for the UIMA tools

Introduction

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

What is libuima-tools-java

libuima-tools-java is:

Apache UIMA is an implementation of the OASIS-UIMA specifications.

OASIS UIMA Committee: http://www.oasis-open.org/committees/uima/.

Unstructured Information Management applications are software systems that analyze large volumes of unstructured information in order to discover knowledge that is relevant to an end user.

An example UIM application might ingest plain text and identify entities, such as persons, places, organizations; or relations, such as works-for or located-at.

This library implements in Java the classes for the tools provided with the Apache UIMA framework.

There are three methods to install libuima-tools-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 libuima-tools-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 libuima-tools-java using apt-get by running the following command:

sudo apt-get -y install libuima-tools-java

Install libuima-tools-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libuima-tools-java

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

sudo aptitude -y install libuima-tools-java

How To Uninstall libuima-tools-java on Ubuntu 18.04

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

sudo apt-get remove libuima-tools-java

Uninstall libuima-tools-java And Its Dependencies

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

sudo apt-get -y autoremove libuima-tools-java

Remove libuima-tools-java Configurations and Data

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

sudo apt-get -y purge libuima-tools-java

Remove libuima-tools-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libuima-tools-java

References

Summary

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