How To Install perl-Encode-JIS2K on CentOS 7

In this tutorial we learn how to install perl-Encode-JIS2K on CentOS 7. perl-Encode-JIS2K is JIS X 0212 (aka JIS 2000) Encodings

Introduction

In this tutorial we learn how to install perl-Encode-JIS2K on CentOS 7.

What is perl-Encode-JIS2K

This module implements encodings that covers JIS X 0213 charset (AKA JIS 2000, hence the module name).

We can use yum or dnf to install perl-Encode-JIS2K on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Encode-JIS2K.

Install perl-Encode-JIS2K on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Encode-JIS2K using yum by running the following command:

sudo yum -y install perl-Encode-JIS2K

Install perl-Encode-JIS2K 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 perl-Encode-JIS2K using dnf by running the following command:

sudo dnf -y install perl-Encode-JIS2K

How To Uninstall perl-Encode-JIS2K on CentOS 7

To uninstall only the perl-Encode-JIS2K package we can use the following command:

sudo dnf remove perl-Encode-JIS2K

References

Summary

In this tutorial we learn how to install perl-Encode-JIS2K on CentOS 7 using yum and dnf.