How To Install texlive-hyphen-chinese on Fedora 36

In this tutorial we learn how to install texlive-hyphen-chinese in Fedora 36. texlive-hyphen-chinese is Chinese pinyin hyphenation patterns

Introduction

In this tutorial we learn how to install texlive-hyphen-chinese on Fedora 36.

What is texlive-hyphen-chinese

Hyphenation patterns for transliterated Mandarin Chinese (pinyin) in T1/EC and UTF-8 encodings. The latter can hyphenate pinyin with or without tone markers; the former only without.

We can use yum or dnf to install texlive-hyphen-chinese on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-hyphen-chinese.

Install texlive-hyphen-chinese on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install texlive-hyphen-chinese

Install texlive-hyphen-chinese on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-hyphen-chinese

How To Uninstall texlive-hyphen-chinese on Fedora 36

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

sudo dnf remove texlive-hyphen-chinese

texlive-hyphen-chinese Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-zh-latn-pinyin.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/ptex/hyph-zh-latn-pinyin.ec.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-zh-latn-pinyin.tex
/usr/share/texlive/texmf-dist/tex/generic/hyph-utf8/patterns/txt/hyph-zh-latn-pinyin.pat.txt

References

Summary

In this tutorial we learn how to install texlive-hyphen-chinese on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).