How To Install hyphen-pt on Rocky Linux 8

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

Introduction

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

What is hyphen-pt

Portuguese hyphenation rules.

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

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

sudo dnf -y install hyphen-pt

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

sudo yum -y install hyphen-pt

How To Uninstall hyphen-pt on Rocky Linux 8

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

sudo dnf remove hyphen-pt

hyphen-pt Package Contents on Rocky Linux 8

/usr/share/doc/hyphen-pt
/usr/share/doc/hyphen-pt/README_hyph_pt_PT.txt
/usr/share/hyphen/hyph_pt_AO.dic
/usr/share/hyphen/hyph_pt_BR.dic
/usr/share/hyphen/hyph_pt_PT.dic

References

Summary

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