How To Install libgeronimo-interceptor-3.0-spec-java on Ubuntu 18.04

In this tutorial we learn how to install libgeronimo-interceptor-3.0-spec-java on Ubuntu 18.04. libgeronimo-interceptor-3.0-spec-java is Geronimo API implementation of the Interceptor 3.0 spec

Introduction

In this tutorial we learn how to install libgeronimo-interceptor-3.0-spec-java on Ubuntu 18.04.

What is libgeronimo-interceptor-3.0-spec-java

libgeronimo-interceptor-3.0-spec-java is:

Apache Geronimo is an open source application server developed by the Apache Software Foundation and distributed under the Apache license.

The goal of the Geronimo project is to produce a server runtime framework that pulls together the best Open Source alternatives to create runtimes that meet the needs of developers and system administrators. Its most popular distribution is a fully certified Java Enterprise Edition 5.0 (Java EE 5) application server runtime.

This package provides the Geronimo API implementation of the Interceptor 3.0 spec (javax.interceptor classes).

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

sudo apt-get -y install libgeronimo-interceptor-3.0-spec-java

Install libgeronimo-interceptor-3.0-spec-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgeronimo-interceptor-3.0-spec-java

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

sudo aptitude -y install libgeronimo-interceptor-3.0-spec-java

How To Uninstall libgeronimo-interceptor-3.0-spec-java on Ubuntu 18.04

To uninstall only the libgeronimo-interceptor-3.0-spec-java package we can use the following command:

sudo apt-get remove libgeronimo-interceptor-3.0-spec-java

Uninstall libgeronimo-interceptor-3.0-spec-java And Its Dependencies

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

sudo apt-get -y autoremove libgeronimo-interceptor-3.0-spec-java

Remove libgeronimo-interceptor-3.0-spec-java Configurations and Data

To remove libgeronimo-interceptor-3.0-spec-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgeronimo-interceptor-3.0-spec-java

Remove libgeronimo-interceptor-3.0-spec-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgeronimo-interceptor-3.0-spec-java

References

Summary

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