How To Install apache-commons-validator.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-validator.noarch on Amazon Linux 2.
What is apache-commons-validator.noarch
A common issue when receiving data either electronically or from user input is verifying the integrity of the data. This work is repetitive and becomes even more complicated when different sets of validation rules need to be applied to the same set of data based on locale for example. Error messages may also vary by locale. This package attempts to address some of these issues and speed development and maintenance of validation rules.
We can use yum to install apache-commons-validator.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-validator.noarch.
Install apache-commons-validator.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 apache-commons-validator.noarch using yum by running the following command:
sudo yum -y install apache-commons-validator.noarch
How To Uninstall apache-commons-validator.noarch on Amazon Linux 2
To uninstall only the apache-commons-validator.noarch package we can use the following command:
sudo yum remove apache-commons-validator.noarch
apache-commons-validator.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-validator-1.4.0
/usr/share/doc/apache-commons-validator-1.4.0/LICENSE.txt
/usr/share/doc/apache-commons-validator-1.4.0/NOTICE.txt
/usr/share/doc/apache-commons-validator-1.4.0/RELEASE-NOTES.txt
/usr/share/java/apache-commons-validator.jar
/usr/share/maven-effective-poms/JPP-apache-commons-validator.pom
/usr/share/maven-fragments/apache-commons-validator.xml
/usr/share/maven-poms/JPP-apache-commons-validator.pom
References
Summary
In this tutorial we learn how to install apache-commons-validator.noarch on Amazon Linux 2 using yum.