How To Install texlive-hyph-utf8 on CentOS 8

texlive-hyph-utf8 is Hyphenation patterns expressed in UTF-8

Introduction

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

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.

We can use yum or dnf to install texlive-hyph-utf8 on CentOS 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install texlive-hyph-utf8

Install texlive-hyph-utf8 on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install texlive-hyph-utf8

How To Uninstall texlive-hyph-utf8 on CentOS 8

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

sudo dnf remove texlive-hyph-utf8

texlive-hyph-utf8 Package Contents on CentOS 8

/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/CHANGES
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/HISTORY
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.pdf
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/hyphenation.pdf
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/hyphenation.tex
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/img
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/img/miktex-languages.png
/usr/share/texlive/texmf-dist/doc/generic/hyph-utf8/img/texlive-collection.png
/usr/share/texlive/texmf-dist/doc/luatex/hyph-utf8
/usr/share/texlive/texmf-dist/doc/luatex/hyph-utf8/README
/usr/share/texlive/texmf-dist/doc/luatex/hyph-utf8/luatex-hyphen.pdf
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-il2.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-il3.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-l7x.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-lmc.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-lth.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-qx.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t8m.tex
/usr/share/texlive/texmf-dist/tex/luatex/hyph-utf8
/usr/share/texlive/texmf-dist/tex/luatex/hyph-utf8/etex.src
/usr/share/texlive/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua

References

Summary

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