How To Install httpunit.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install httpunit.noarch
on Amazon Linux 2.
What is httpunit.noarch
HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. A companion framework, ServletUnit is included in the package.
We can use yum
to install httpunit.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install httpunit.noarch.
Install httpunit.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 httpunit.noarch
using yum
by running the following command:
sudo yum -y install httpunit.noarch
How To Uninstall httpunit.noarch on Amazon Linux 2
To uninstall only the httpunit.noarch
package we can use the following command:
sudo yum remove httpunit.noarch
httpunit.noarch Package Contents on Amazon Linux 2
/usr/share/doc/httpunit-1.7
/usr/share/doc/httpunit-1.7/LICENSE-ASL
/usr/share/java/httpunit.jar
/usr/share/maven-fragments/httpunit
/usr/share/maven-poms/JPP-httpunit.pom
References
Summary
In this tutorial we learn how to install httpunit.noarch
on Amazon Linux 2 using yum.