How To Install jarjar.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jarjar.noarch
on Amazon Linux 2.
What is jarjar.noarch
Jar Jar Links is a utility that makes it easy to repackage Java libraries and embed them into your own distribution. This is useful for two reasons You can easily ship a single jar file with no external dependencies. You can avoid problems where your library depends on a specific version of a library, which may conflict with the dependencies of another library.
We can use yum
to install jarjar.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jarjar.noarch.
Install jarjar.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 jarjar.noarch
using yum
by running the following command:
sudo yum -y install jarjar.noarch
How To Uninstall jarjar.noarch on Amazon Linux 2
To uninstall only the jarjar.noarch
package we can use the following command:
sudo yum remove jarjar.noarch
jarjar.noarch Package Contents on Amazon Linux 2
/usr/share/doc/jarjar-1.4
/usr/share/doc/jarjar-1.4/COPYING
/usr/share/java/jarjar-util.jar
/usr/share/java/jarjar.jar
/usr/share/maven-fragments/jarjar
/usr/share/maven-poms/JPP-jarjar-util.pom
/usr/share/maven-poms/JPP-jarjar.pom
References
Summary
In this tutorial we learn how to install jarjar.noarch
on Amazon Linux 2 using yum.