How To Install jsr-311.noarch on Amazon Linux 2

In this tutorial we learn how to install jsr-311.noarch in Amazon Linux 2. jsr-311.noarch is JAX-RS

Introduction

In this tutorial we learn how to install jsr-311.noarch on Amazon Linux 2.

What is jsr-311.noarch

JAX-RS

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

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

sudo yum -y install jsr-311.noarch

How To Uninstall jsr-311.noarch on Amazon Linux 2

To uninstall only the jsr-311.noarch package we can use the following command:

sudo yum remove jsr-311.noarch

jsr-311.noarch Package Contents on Amazon Linux 2

/usr/share/java/jsr-311.jar
/usr/share/maven-effective-poms/JPP-jsr-311.pom
/usr/share/maven-fragments/jsr-311.xml
/usr/share/maven-poms/JPP-jsr-311.pom

References

Summary

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