How To Install sonatype-oss-parent.noarch on Amazon Linux 2

In this tutorial we learn how to install sonatype-oss-parent.noarch in Amazon Linux 2. sonatype-oss-parent.noarch is Sonatype OSS Parent

Introduction

In this tutorial we learn how to install sonatype-oss-parent.noarch on Amazon Linux 2.

What is sonatype-oss-parent.noarch

Sonatype OSS parent pom used by other sonatype packages

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

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

sudo yum -y install sonatype-oss-parent.noarch

How To Uninstall sonatype-oss-parent.noarch on Amazon Linux 2

To uninstall only the sonatype-oss-parent.noarch package we can use the following command:

sudo yum remove sonatype-oss-parent.noarch

sonatype-oss-parent.noarch Package Contents on Amazon Linux 2

/usr/share/doc/sonatype-oss-parent-7
/usr/share/doc/sonatype-oss-parent-7/LICENSE
/usr/share/maven-fragments/sonatype-oss-parent.xml
/usr/share/maven-poms/JPP.sonatype-oss-parent-oss-parent.pom

References

Summary

In this tutorial we learn how to install sonatype-oss-parent.noarch on Amazon Linux 2 using yum.