How To Install ant-jsch.noarch on Amazon Linux 2

In this tutorial we learn how to install ant-jsch.noarch in Amazon Linux 2. ant-jsch.noarch is Optional jsch tasks for ant

Introduction

In this tutorial we learn how to install ant-jsch.noarch on Amazon Linux 2.

What is ant-jsch.noarch

Optional jsch tasks for ant.

We can use yum to install ant-jsch.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ant-jsch.noarch.

Install ant-jsch.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 ant-jsch.noarch using yum by running the following command:

sudo yum -y install ant-jsch.noarch

How To Uninstall ant-jsch.noarch on Amazon Linux 2

To uninstall only the ant-jsch.noarch package we can use the following command:

sudo yum remove ant-jsch.noarch

ant-jsch.noarch Package Contents on Amazon Linux 2

/etc/ant.d/jsch
/usr/share/ant/lib/ant-jsch.jar
/usr/share/java/ant/ant-jsch.jar
/usr/share/maven-fragments/ant-jsch
/usr/share/maven-poms/JPP.ant-ant-jsch.pom

References

Summary

In this tutorial we learn how to install ant-jsch.noarch on Amazon Linux 2 using yum.