How To Install libgeronimo-validation-1.0-spec-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libgeronimo-validation-1.0-spec-java-doc on Ubuntu 18.04. libgeronimo-validation-1.0-spec-java-doc is Documentation for libgeronimo-validation-1.0-spec-java

Introduction

In this tutorial we learn how to install libgeronimo-validation-1.0-spec-java-doc on Ubuntu 18.04.

What is libgeronimo-validation-1.0-spec-java-doc

libgeronimo-validation-1.0-spec-java-doc is:

Documentation for the Apache Geronimo implementation of the JSR-303 Bean Validation Spec API.

JSR 303 defines a metadata model and API for JavaBean validation. The default metadata source is annotations, with the ability to override and extend the meta-data through the use of XML validation descriptors. The API is not tied to a specific application tier or programming model.

It is specifically not tied to either the web tier or the persistence tier, and is available for both server-side application programming, as well as rich client Swing application developer.

This package contains only API of JSR-303 spec. Hibernate Validator is the reference implementation of this spec.

There are three methods to install libgeronimo-validation-1.0-spec-java-doc 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 libgeronimo-validation-1.0-spec-java-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libgeronimo-validation-1.0-spec-java-doc using apt-get by running the following command:

sudo apt-get -y install libgeronimo-validation-1.0-spec-java-doc

Install libgeronimo-validation-1.0-spec-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgeronimo-validation-1.0-spec-java-doc using apt by running the following command:

sudo apt -y install libgeronimo-validation-1.0-spec-java-doc

Install libgeronimo-validation-1.0-spec-java-doc 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 libgeronimo-validation-1.0-spec-java-doc using aptitude by running the following command:

sudo aptitude -y install libgeronimo-validation-1.0-spec-java-doc

How To Uninstall libgeronimo-validation-1.0-spec-java-doc on Ubuntu 18.04

To uninstall only the libgeronimo-validation-1.0-spec-java-doc package we can use the following command:

sudo apt-get remove libgeronimo-validation-1.0-spec-java-doc

Uninstall libgeronimo-validation-1.0-spec-java-doc And Its Dependencies

To uninstall libgeronimo-validation-1.0-spec-java-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgeronimo-validation-1.0-spec-java-doc

Remove libgeronimo-validation-1.0-spec-java-doc Configurations and Data

To remove libgeronimo-validation-1.0-spec-java-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgeronimo-validation-1.0-spec-java-doc

Remove libgeronimo-validation-1.0-spec-java-doc configuration, data, and all of its dependencies

We can use the following command to remove libgeronimo-validation-1.0-spec-java-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgeronimo-validation-1.0-spec-java-doc

References

Summary

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