How To Install codehaus-parent.noarch on Amazon Linux 2

In this tutorial we learn how to install codehaus-parent.noarch in Amazon Linux 2. codehaus-parent.noarch is Parent pom file for codehaus projects

Introduction

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

What is codehaus-parent.noarch

This package contains the parent pom file for codehaus projects.

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

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

sudo yum -y install codehaus-parent.noarch

How To Uninstall codehaus-parent.noarch on Amazon Linux 2

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

sudo yum remove codehaus-parent.noarch

codehaus-parent.noarch Package Contents on Amazon Linux 2

/usr/share/doc/codehaus-parent-4
/usr/share/doc/codehaus-parent-4/LICENSE
/usr/share/maven-fragments/codehaus-parent
/usr/share/maven-poms/JPP-codehaus-parent.pom

References

Summary

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