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

In this tutorial we learn how to install guice-parent.noarch in Amazon Linux 2. guice-parent.noarch is Guice parent POM

Introduction

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

What is guice-parent.noarch

Guice is a lightweight dependency injection framework for Java 5 and above. This package provides parent POM for Guice modules.

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

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

sudo yum -y install guice-parent.noarch

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

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

sudo yum remove guice-parent.noarch

guice-parent.noarch Package Contents on Amazon Linux 2

/usr/share/doc/guice-parent-3.1.3
/usr/share/doc/guice-parent-3.1.3/COPYING
/usr/share/maven-fragments/google-guice-guice-parent.xml
/usr/share/maven-poms/JPP.guice-guice-parent.pom

References

Summary

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