How To Install libgeronimo-validation-1.1-spec-java on Ubuntu 22.04

Hostnbit

In this tutorial we learn how to install libgeronimo-validation-1.1-spec-java on Ubuntu 22.04. libgeronimo-validation-1.1-spec-java is Geronimo JSR-349 Bean Validation Spec API

Introduction

In this tutorial we learn how to install libgeronimo-validation-1.1-spec-java on Ubuntu 22.04.

What is libgeronimo-validation-1.1-spec-java

libgeronimo-validation-1.1-spec-java is:

Apache Geronimo implementation of the JSR-349 Bean Validation Spec API.

JSR 349 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-349 spec. Hibernate Validator is the
reference implementation of this spec.

There are three methods to install libgeronimo-validation-1.1-spec-java on Ubuntu 22.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.1-spec-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 libgeronimo-validation-1.1-spec-java using apt-get by running the following command:

sudo apt-get -y install libgeronimo-validation-1.1-spec-java

Install libgeronimo-validation-1.1-spec-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgeronimo-validation-1.1-spec-java

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

sudo aptitude -y install libgeronimo-validation-1.1-spec-java

How To Uninstall libgeronimo-validation-1.1-spec-java on Ubuntu 22.04

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

sudo apt-get remove libgeronimo-validation-1.1-spec-java

Uninstall libgeronimo-validation-1.1-spec-java And Its Dependencies

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

sudo apt-get -y autoremove libgeronimo-validation-1.1-spec-java

Remove libgeronimo-validation-1.1-spec-java Configurations and Data

To remove libgeronimo-validation-1.1-spec-java configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libgeronimo-validation-1.1-spec-java

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

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

sudo apt-get -y autoremove --purge libgeronimo-validation-1.1-spec-java

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top