How To Install joda-time.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install joda-time.noarch
on Amazon Linux 2.
What is joda-time.noarch
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API. The ‘default’ calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included, and we welcome further additions. Supporting classes include time zone, duration, format and parsing.
We can use yum
to install joda-time.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install joda-time.noarch.
Install joda-time.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 joda-time.noarch
using yum
by running the following command:
sudo yum -y install joda-time.noarch
How To Uninstall joda-time.noarch on Amazon Linux 2
To uninstall only the joda-time.noarch
package we can use the following command:
sudo yum remove joda-time.noarch
joda-time.noarch Package Contents on Amazon Linux 2
/usr/share/doc/joda-time-2.2
/usr/share/doc/joda-time-2.2/LICENSE.txt
/usr/share/doc/joda-time-2.2/NOTICE.txt
/usr/share/doc/joda-time-2.2/RELEASE-NOTES.txt
/usr/share/java/joda-time.jar
/usr/share/maven-effective-poms/JPP-joda-time.pom
/usr/share/maven-fragments/joda-time.xml
/usr/share/maven-poms/JPP-joda-time.pom
References
Summary
In this tutorial we learn how to install joda-time.noarch
on Amazon Linux 2 using yum.