How To Install jakarta-commons-httpclient.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jakarta-commons-httpclient.noarch on Amazon Linux 2.
What is jakarta-commons-httpclient.noarch
The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today. Web services, network-enabled appliances and the growth of network computing continue to expand the role of the HTTP protocol beyond user-driven web browsers, and increase the number of applications that may require HTTP support. Although the java.net package provides basic support for accessing resources via HTTP, it doesn’t provide the full flexibility or functionality needed by many applications. The Jakarta Commons HTTP Client component seeks to fill this void by providing an efficient, up-to-date, and feature-rich package implementing the client side of the most recent HTTP standards and recommendations. Designed for extension while providing robust support for the base HTTP protocol, the HTTP Client component may be of interest to anyone building HTTP-aware client applications such as web browsers, web service clients, or systems that leverage or extend the HTTP protocol for distributed communication.
We can use yum to install jakarta-commons-httpclient.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jakarta-commons-httpclient.noarch.
Install jakarta-commons-httpclient.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 jakarta-commons-httpclient.noarch using yum by running the following command:
sudo yum -y install jakarta-commons-httpclient.noarch
How To Uninstall jakarta-commons-httpclient.noarch on Amazon Linux 2
To uninstall only the jakarta-commons-httpclient.noarch package we can use the following command:
sudo yum remove jakarta-commons-httpclient.noarch
jakarta-commons-httpclient.noarch Package Contents on Amazon Linux 2
/usr/share/doc/jakarta-commons-httpclient-3.1
/usr/share/doc/jakarta-commons-httpclient-3.1/LICENSE
/usr/share/doc/jakarta-commons-httpclient-3.1/NOTICE
/usr/share/doc/jakarta-commons-httpclient-3.1/README
/usr/share/doc/jakarta-commons-httpclient-3.1/RELEASE_NOTES
/usr/share/java/commons-httpclient.jar
/usr/share/java/commons-httpclient3.jar
/usr/share/java/jakarta-commons-httpclient.jar
/usr/share/maven-fragments/jakarta-commons-httpclient
/usr/share/maven-poms/JPP-jakarta-commons-httpclient.pom
References
Summary
In this tutorial we learn how to install jakarta-commons-httpclient.noarch on Amazon Linux 2 using yum.