How To Install libonemind-commons-java-java on Ubuntu 18.04

In this tutorial we learn how to install libonemind-commons-java-java on Ubuntu 18.04. libonemind-commons-java-java is common java library used to support other developments

Introduction

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

What is libonemind-commons-java-java

libonemind-commons-java-java is:

The OneMind commons-java library contains java utilities and mini-frameworks that are created to support other developments. It contains the following packages:

  • org.onemind.commons.java.criterion - for representing logical constraints
  • org.onemind.commons.java.datastructure - some datastructure classes
  • org.onemind.commons.java.event - event/event firer interface and a simple listener list implementation
  • org.onemind.commons.java.html.css - css attribute constants for css related programming, and a simple css generation framework
  • org.onemind.commons.java.io - FileUtils
  • org.onemind.commons.java.lang - Null, Enum, ConfigurationException and ReflectUtils
  • org.onemind.commons.java.servlet - ServletUtils
  • org.onemind.commons.java.sql - sql metadata representation, sql type mapper and utils
  • org.onemind.commons.java.util - more utilities classes
  • org.onemind.commons.java.xml - utilities for xml parsing

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

sudo apt-get -y install libonemind-commons-java-java

Install libonemind-commons-java-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libonemind-commons-java-java

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

sudo aptitude -y install libonemind-commons-java-java

How To Uninstall libonemind-commons-java-java on Ubuntu 18.04

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

sudo apt-get remove libonemind-commons-java-java

Uninstall libonemind-commons-java-java And Its Dependencies

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

sudo apt-get -y autoremove libonemind-commons-java-java

Remove libonemind-commons-java-java Configurations and Data

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

sudo apt-get -y purge libonemind-commons-java-java

Remove libonemind-commons-java-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libonemind-commons-java-java

References

Summary

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