How To Install httpcomponents-project.noarch on Amazon Linux 2

In this tutorial we learn how to install httpcomponents-project.noarch in Amazon Linux 2. httpcomponents-project.noarch is Common POM file for HttpComponents

Introduction

In this tutorial we learn how to install httpcomponents-project.noarch on Amazon Linux 2.

What is httpcomponents-project.noarch

Common Maven POM file for HttpComponents. This project should be required only for building dependant packages with Maven. Please don’t use it as runtime requirement.

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

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

sudo yum -y install httpcomponents-project.noarch

How To Uninstall httpcomponents-project.noarch on Amazon Linux 2

To uninstall only the httpcomponents-project.noarch package we can use the following command:

sudo yum remove httpcomponents-project.noarch

httpcomponents-project.noarch Package Contents on Amazon Linux 2

/usr/share/doc/httpcomponents-project-6
/usr/share/doc/httpcomponents-project-6/LICENSE.txt
/usr/share/doc/httpcomponents-project-6/NOTICE.txt
/usr/share/maven-fragments/httpcomponents-project.xml
/usr/share/maven-poms/JPP-httpcomponents-project.pom

References

Summary

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