How To Install ant-apache-log4j.noarch on Amazon Linux 2
In this tutorial we learn how to install ant-apache-log4j.noarch in Amazon Linux 2. ant-apache-log4j.noarch is Optional apache log4j tasks for ant
Introduction
In this tutorial we learn how to install ant-apache-log4j.noarch
on Amazon Linux 2.
What is ant-apache-log4j.noarch
Optional apache log4j tasks for ant.
We can use yum
to install ant-apache-log4j.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ant-apache-log4j.noarch.
Install ant-apache-log4j.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-apache-log4j.noarch
using yum
by running the following command:
sudo yum -y install ant-apache-log4j.noarch
How To Uninstall ant-apache-log4j.noarch on Amazon Linux 2
To uninstall only the ant-apache-log4j.noarch
package we can use the following command:
sudo yum remove ant-apache-log4j.noarch
ant-apache-log4j.noarch Package Contents on Amazon Linux 2
/etc/ant.d/apache-log4j
/usr/share/ant/lib/ant-apache-log4j.jar
/usr/share/java/ant/ant-apache-log4j.jar
/usr/share/maven-fragments/ant-apache-log4j
/usr/share/maven-poms/JPP.ant-ant-apache-log4j.pom
References
Summary
In this tutorial we learn how to install ant-apache-log4j.noarch
on Amazon Linux 2 using yum.