How To Install apache-commons-net.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-net.noarch on Amazon Linux 2.
What is apache-commons-net.noarch
This is an Internet protocol suite Java library originally developed by ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well as BSD R command support. The purpose of the library is to provide fundamental protocol access, not higher-level abstractions.
We can use yum to install apache-commons-net.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-net.noarch.
Install apache-commons-net.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-net.noarch using yum by running the following command:
sudo yum -y install apache-commons-net.noarch
How To Uninstall apache-commons-net.noarch on Amazon Linux 2
To uninstall only the apache-commons-net.noarch package we can use the following command:
sudo yum remove apache-commons-net.noarch
apache-commons-net.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-net-3.2
/usr/share/doc/apache-commons-net-3.2/LICENSE.txt
/usr/share/doc/apache-commons-net-3.2/NOTICE.txt
/usr/share/doc/apache-commons-net-3.2/README
/usr/share/doc/apache-commons-net-3.2/RELEASE-NOTES.txt
/usr/share/java/apache-commons-net.jar
/usr/share/java/commons-net.jar
/usr/share/maven-effective-poms/JPP-apache-commons-net.pom
/usr/share/maven-effective-poms/JPP-commons-net.pom
/usr/share/maven-fragments/apache-commons-net.xml
/usr/share/maven-poms/JPP-apache-commons-net.pom
/usr/share/maven-poms/JPP-commons-net.pom
References
Summary
In this tutorial we learn how to install apache-commons-net.noarch on Amazon Linux 2 using yum.