How To Install hyphen-fa on Rocky Linux 8

In this tutorial we learn how to install hyphen-fa on Rocky Linux 8. hyphen-fa is Farsi hyphenation rules

Introduction

In this tutorial we learn how to install hyphen-fa on Rocky Linux 8.

What is hyphen-fa

Farsi hyphenation rules.

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

Install hyphen-fa 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 hyphen-fa using dnf by running the following command:

sudo dnf -y install hyphen-fa

Install hyphen-fa 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 hyphen-fa using yum by running the following command:

sudo yum -y install hyphen-fa

How To Uninstall hyphen-fa on Rocky Linux 8

To uninstall only the hyphen-fa package we can use the following command:

sudo dnf remove hyphen-fa

hyphen-fa Package Contents on Rocky Linux 8

/usr/share/doc/hyphen-fa
/usr/share/doc/hyphen-fa/README
/usr/share/hyphen/hyph_fa_IR.dic

References

Summary

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