How To Install atinject-tck.noarch on Amazon Linux 2

In this tutorial we learn how to install atinject-tck.noarch in Amazon Linux 2. atinject-tck.noarch is TCK for testing atinject compatibility with JSR-330

Introduction

In this tutorial we learn how to install atinject-tck.noarch on Amazon Linux 2.

What is atinject-tck.noarch

TCK for testing atinject compatibility with JSR-330.

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

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

sudo yum -y install atinject-tck.noarch

How To Uninstall atinject-tck.noarch on Amazon Linux 2

To uninstall only the atinject-tck.noarch package we can use the following command:

sudo yum remove atinject-tck.noarch

atinject-tck.noarch Package Contents on Amazon Linux 2

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

References

Summary

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