How To Install apache-commons-io.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-io.noarch
on Amazon Linux 2.
What is apache-commons-io.noarch
Commons-IO contains utility classes, stream implementations, file filters, and endian classes. It is a library of utilities to assist with developing IO functionality.
We can use yum
to install apache-commons-io.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-io.noarch.
Install apache-commons-io.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-io.noarch
using yum
by running the following command:
sudo yum -y install apache-commons-io.noarch
How To Uninstall apache-commons-io.noarch on Amazon Linux 2
To uninstall only the apache-commons-io.noarch
package we can use the following command:
sudo yum remove apache-commons-io.noarch
apache-commons-io.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-io-2.4
/usr/share/doc/apache-commons-io-2.4/LICENSE.txt
/usr/share/doc/apache-commons-io-2.4/NOTICE.txt
/usr/share/doc/apache-commons-io-2.4/RELEASE-NOTES.txt
/usr/share/java/apache-commons-io.jar
/usr/share/java/commons-io.jar
/usr/share/maven-effective-poms/JPP-apache-commons-io.pom
/usr/share/maven-effective-poms/JPP-commons-io.pom
/usr/share/maven-fragments/apache-commons-io.xml
/usr/share/maven-poms/JPP-apache-commons-io.pom
/usr/share/maven-poms/JPP-commons-io.pom
References
Summary
In this tutorial we learn how to install apache-commons-io.noarch
on Amazon Linux 2 using yum.