How To Install perl-NKF on Rocky Linux 8

In this tutorial we learn how to install perl-NKF on Rocky Linux 8. perl-NKF is Perl extension for Network Kanji Filter

Introduction

In this tutorial we learn how to install perl-NKF on Rocky Linux 8.

What is perl-NKF

This is a Perl Extension version of nkf (Network Kanji Filter). It converts the last argument and return converted result. Conversion details are specified by flags before the last argument.

We can use yum or dnf to install perl-NKF on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-NKF.

Install perl-NKF on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-NKF

Install perl-NKF on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-NKF

How To Uninstall perl-NKF on Rocky Linux 8

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

sudo dnf remove perl-NKF

perl-NKF Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/f0ff083cbbf76821d529e975824c6bafe24b20
/usr/lib64/perl5/vendor_perl/NKF.pm
/usr/lib64/perl5/vendor_perl/auto/NKF
/usr/lib64/perl5/vendor_perl/auto/NKF/NKF.so
/usr/share/doc/perl-NKF
/usr/share/doc/perl-NKF/nkf.doc
/usr/share/licenses/perl-NKF
/usr/share/licenses/perl-NKF/nkf.copyright
/usr/share/man/man3/NKF.3pm.gz

References

Summary

In this tutorial we learn how to install perl-NKF on Rocky Linux 8 using yum and dnf.