How To Install geronimo-annotation.noarch on Amazon Linux 2

In this tutorial we learn how to install geronimo-annotation.noarch in Amazon Linux 2. geronimo-annotation.noarch is Java EE

Introduction

In this tutorial we learn how to install geronimo-annotation.noarch on Amazon Linux 2.

What is geronimo-annotation.noarch

This package defines the common annotations.

We can use yum to install geronimo-annotation.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install geronimo-annotation.noarch.

Install geronimo-annotation.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install geronimo-annotation.noarch

How To Uninstall geronimo-annotation.noarch on Amazon Linux 2

To uninstall only the geronimo-annotation.noarch package we can use the following command:

sudo yum remove geronimo-annotation.noarch

geronimo-annotation.noarch Package Contents on Amazon Linux 2

/usr/share/doc/geronimo-annotation-1.0
/usr/share/doc/geronimo-annotation-1.0/LICENSE
/usr/share/doc/geronimo-annotation-1.0/NOTICE
/usr/share/java/annotation.jar
/usr/share/java/geronimo-annotation.jar
/usr/share/maven-effective-poms/JPP-annotation.pom
/usr/share/maven-effective-poms/JPP-geronimo-annotation.pom
/usr/share/maven-fragments/geronimo-annotation.xml
/usr/share/maven-poms/JPP-annotation.pom
/usr/share/maven-poms/JPP-geronimo-annotation.pom

References

Summary

In this tutorial we learn how to install geronimo-annotation.noarch on Amazon Linux 2 using yum.