How To Install apache-commons-vfs-examples.noarch on Amazon Linux 2

In this tutorial we learn how to install apache-commons-vfs-examples.noarch in Amazon Linux 2. apache-commons-vfs-examples.noarch is Commons VFS Examples

Introduction

In this tutorial we learn how to install apache-commons-vfs-examples.noarch on Amazon Linux 2.

What is apache-commons-vfs-examples.noarch

VFS is a Virtual File System library - Examples.

We can use yum to install apache-commons-vfs-examples.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-vfs-examples.noarch.

Install apache-commons-vfs-examples.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-vfs-examples.noarch using yum by running the following command:

sudo yum -y install apache-commons-vfs-examples.noarch

How To Uninstall apache-commons-vfs-examples.noarch on Amazon Linux 2

To uninstall only the apache-commons-vfs-examples.noarch package we can use the following command:

sudo yum remove apache-commons-vfs-examples.noarch

apache-commons-vfs-examples.noarch Package Contents on Amazon Linux 2

/usr/share/java/apache-commons-vfs/commons-vfs2-examples.jar
/usr/share/maven-effective-poms/JPP.apache-commons-vfs-commons-vfs2-examples.pom
/usr/share/maven-fragments/apache-commons-vfs-commons-vfs2-examples.xml
/usr/share/maven-poms/JPP.apache-commons-vfs-commons-vfs2-examples.pom

References

Summary

In this tutorial we learn how to install apache-commons-vfs-examples.noarch on Amazon Linux 2 using yum.