How To Install apache-commons-cli.noarch on Amazon Linux 2
In this tutorial we learn how to install apache-commons-cli.noarch in Amazon Linux 2. apache-commons-cli.noarch is Command Line Interface Library for Java
Introduction
In this tutorial we learn how to install apache-commons-cli.noarch
on Amazon Linux 2.
What is apache-commons-cli.noarch
The CLI library provides a simple and easy to use API for working with the command line arguments and options.
We can use yum
to install apache-commons-cli.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-cli.noarch.
Install apache-commons-cli.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-cli.noarch
using yum
by running the following command:
sudo yum -y install apache-commons-cli.noarch
How To Uninstall apache-commons-cli.noarch on Amazon Linux 2
To uninstall only the apache-commons-cli.noarch
package we can use the following command:
sudo yum remove apache-commons-cli.noarch
apache-commons-cli.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-cli-1.2
/usr/share/doc/apache-commons-cli-1.2/LICENSE.txt
/usr/share/doc/apache-commons-cli-1.2/NOTICE.txt
/usr/share/doc/apache-commons-cli-1.2/README.txt
/usr/share/doc/apache-commons-cli-1.2/RELEASE-NOTES.txt
/usr/share/java/apache-commons-cli.jar
/usr/share/java/commons-cli.jar
/usr/share/maven-effective-poms/JPP-apache-commons-cli.pom
/usr/share/maven-effective-poms/JPP-commons-cli.pom
/usr/share/maven-fragments/apache-commons-cli.xml
/usr/share/maven-poms/JPP-apache-commons-cli.pom
/usr/share/maven-poms/JPP-commons-cli.pom
References
Summary
In this tutorial we learn how to install apache-commons-cli.noarch
on Amazon Linux 2 using yum.