How To Install apache-commons-exec.noarch on Amazon Linux 2
In this tutorial we learn how to install apache-commons-exec.noarch in Amazon Linux 2. apache-commons-exec.noarch is Java library to reliably execute external processes from within
Introduction
In this tutorial we learn how to install apache-commons-exec.noarch
on Amazon Linux 2.
What is apache-commons-exec.noarch
Commons Exec is a library for dealing with external process execution and environment management in Java.
We can use yum
to install apache-commons-exec.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-exec.noarch.
Install apache-commons-exec.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-exec.noarch
using yum
by running the following command:
sudo yum -y install apache-commons-exec.noarch
How To Uninstall apache-commons-exec.noarch on Amazon Linux 2
To uninstall only the apache-commons-exec.noarch
package we can use the following command:
sudo yum remove apache-commons-exec.noarch
apache-commons-exec.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-exec-1.1
/usr/share/doc/apache-commons-exec-1.1/LICENSE.txt
/usr/share/doc/apache-commons-exec-1.1/NOTICE.txt
/usr/share/doc/apache-commons-exec-1.1/STATUS
/usr/share/java/apache-commons-exec.jar
/usr/share/java/commons-exec.jar
/usr/share/maven-effective-poms/JPP-apache-commons-exec.pom
/usr/share/maven-effective-poms/JPP-commons-exec.pom
/usr/share/maven-fragments/apache-commons-exec.xml
/usr/share/maven-poms/JPP-apache-commons-exec.pom
/usr/share/maven-poms/JPP-commons-exec.pom
References
Summary
In this tutorial we learn how to install apache-commons-exec.noarch
on Amazon Linux 2 using yum.