How To Install texlive-hyph-utf8 on CentOS 7

In this tutorial we learn how to install texlive-hyph-utf8 on CentOS 7. texlive-hyph-utf8 is Hyphenation patterns expressed in UTF-8

Introduction

In this tutorial we learn how to install texlive-hyph-utf8 on CentOS 7.

What is texlive-hyph-utf8

Modern native UTF-8 engines such as XeTeX and LuaTeX need hyphenation patterns in UTF-8 format, whereas older systems require hyphenation patterns in the 8-bit encoding of the font in use (such encodings are codified in the LaTeX scheme with names like OT1, T2A, TS1, OML, LY1, etc). The present package offers a collection of conversions of existing patterns to UTF- 8 format, together with converters for use with 8-bit fonts in older systems. Since hyphenation patterns for Knuthian-style TeX systems are only read at iniTeX time, it is hoped that the UTF-8 patterns, with their converters, will completely supplant the older patterns. date

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

Install texlive-hyph-utf8 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install texlive-hyph-utf8 using yum by running the following command:

sudo yum -y install texlive-hyph-utf8

Install texlive-hyph-utf8 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 texlive-hyph-utf8 using dnf by running the following command:

sudo dnf -y install texlive-hyph-utf8

How To Uninstall texlive-hyph-utf8 on CentOS 7

To uninstall only the texlive-hyph-utf8 package we can use the following command:

sudo dnf remove texlive-hyph-utf8

References

Summary

In this tutorial we learn how to install texlive-hyph-utf8 on CentOS 7 using yum and dnf.