How To Install cal10n.noarch on Amazon Linux 2

In this tutorial we learn how to install cal10n.noarch in Amazon Linux 2. cal10n.noarch is Compiler assisted localization library (CAL10N)

Introduction

In this tutorial we learn how to install cal10n.noarch on Amazon Linux 2.

What is cal10n.noarch

Compiler Assisted Localization, abbreviated as CAL10N (pronounced as “calion”) is a java library for writing localized (internationalized) messages. Features * java compiler verifies message keys used in source code * tooling to detect errors in message keys * native2ascii tool made superfluous, as you can directly encode bundles in the most convenient charset, per locale. * good performance (300 nanoseconds per key look-up) * automatic reloading of resource bundles upon change

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

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

sudo yum -y install cal10n.noarch

How To Uninstall cal10n.noarch on Amazon Linux 2

To uninstall only the cal10n.noarch package we can use the following command:

sudo yum remove cal10n.noarch

cal10n.noarch Package Contents on Amazon Linux 2

/usr/share/doc/cal10n-0.7.7
/usr/share/doc/cal10n-0.7.7/LICENSE.txt
/usr/share/java/cal10n
/usr/share/java/cal10n/cal10n-api.jar
/usr/share/maven-effective-poms/JPP.cal10n-cal10n-api.pom
/usr/share/maven-fragments/cal10n.xml
/usr/share/maven-poms/JPP.cal10n-cal10n-api.pom
/usr/share/maven-poms/JPP.cal10n-cal10n-parent.pom

References

Summary

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