How To Install cal10n on CentOS 7
Introduction
In this tutorial we learn how to install cal10n
on CentOS 7.
What is cal10n
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
or dnf
to install cal10n
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install cal10n.
Install cal10n on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install cal10n
using yum
by running the following command:
sudo yum -y install cal10n
Install cal10n on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install cal10n
using dnf
by running the following command:
sudo dnf -y install cal10n
How To Uninstall cal10n on CentOS 7
To uninstall only the cal10n
package we can use the following command:
sudo dnf remove cal10n
References
Summary
In this tutorial we learn how to install cal10n
on CentOS 7 using yum
and dnf
.