How To Install jandex.noarch on Amazon Linux 2

In this tutorial we learn how to install jandex.noarch in Amazon Linux 2. jandex.noarch is Java Annotation Indexer

Introduction

In this tutorial we learn how to install jandex.noarch on Amazon Linux 2.

What is jandex.noarch

This package contains Java Annotation Indexer

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

Install jandex.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 jandex.noarch using yum by running the following command:

sudo yum -y install jandex.noarch

How To Uninstall jandex.noarch on Amazon Linux 2

To uninstall only the jandex.noarch package we can use the following command:

sudo yum remove jandex.noarch

jandex.noarch Package Contents on Amazon Linux 2

/usr/share/java/jandex.jar
/usr/share/maven-fragments/jandex
/usr/share/maven-poms/JPP-jandex.pom

References

Summary

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