How To Install geronimo-interceptor on CentOS 7

In this tutorial we learn how to install geronimo-interceptor on CentOS 7. geronimo-interceptor is Java EE: Interceptor API v3.0

Introduction

In this tutorial we learn how to install geronimo-interceptor on CentOS 7.

What is geronimo-interceptor

Contains annotations and interfaces for defining interceptor methods, interceptor classes and for binding interceptor classes to target classes.

We can use yum or dnf to install geronimo-interceptor on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install geronimo-interceptor.

Install geronimo-interceptor on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install geronimo-interceptor using yum by running the following command:

sudo yum -y install geronimo-interceptor

Install geronimo-interceptor on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install geronimo-interceptor using dnf by running the following command:

sudo dnf -y install geronimo-interceptor

How To Uninstall geronimo-interceptor on CentOS 7

To uninstall only the geronimo-interceptor package we can use the following command:

sudo dnf remove geronimo-interceptor

References

Summary

In this tutorial we learn how to install geronimo-interceptor on CentOS 7 using yum and dnf.